[PATCH] D21232: Add attribute noreturn to functions that throw

Eric Fiselier via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 29 23:42:18 PDT 2016


EricWF added inline comments.

================
Comment at: libcxx/include/__config:308
@@ +307,3 @@
+#else
+#define _LIBCPP_NORETURN_ON_EXCEPTIONS __attribute__((__noreturn__))
+#endif
----------------
This should probably be
```
#define _LIBCPP_NORETURN_ON_EXCEPTIONS _LIBCPP_NORETURN
```


http://reviews.llvm.org/D21232





More information about the llvm-commits mailing list