[PATCH] D20693: [clang-tidy] New checker to replace dynamic exception specifications

don hinton via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Jan 6 11:36:46 PST 2017


hintonda added a comment.

I could be wrong (please let me know if I am), but my understanding is:

// Does not throw
throw() --> noexcept == noexcept(true)

// Does throw
throw(something) --> noexcept(false)

Please see http://en.cppreference.com/w/cpp/language/noexcept_spec


https://reviews.llvm.org/D20693





More information about the cfe-commits mailing list