aaron.ballman added inline comments.

================
Comment at: include/clang/Basic/AttrDocs.td:2692
+  let Content = [{
+Clang supports the GNU style ``__attribute__((nothrow))`` attribute as an
+equivilent of `noexcept` on function declarations. This attribute informs the
----------------
Should probably add something about `__declspec(nothrow)` as well.

Are the semantics really identical to `noexcept`? For instance, does 
`std::terminate()` get called if a function is marked `__declspec(nothrow)` and 
it throws, or does it simply crash?


================
Comment at: include/clang/Basic/AttrDocs.td:2694
+equivilent of `noexcept` on function declarations. This attribute informs the
+compiler that the annotated function does cannot throw an exception. This
+prevents exception-unwinding. This attribute is particularly useful on 
functions
----------------
"does cannot"


https://reviews.llvm.org/D38202



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to