erichkeane marked an inline comment as done.
erichkeane 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
----------------
aaron.ballman wrote:
> 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?
I'm unable in GCC to identify any difference between nothrow and noexcept.  It 
DOES do std::terminate in 7.2, and presumably older versions as well.


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