[PATCH] D19201: [clang-tidy] misc-throw-with-noexcept

Balogh, Ádám via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed May 31 05:25:12 PDT 2017


baloghadamsoftware added a comment.

There is a patch (https://reviews.llvm.org/D33537) for a check which is a superset of this: It does not only check for noexcept (and throw()) functions, but also for destructors, move constructors, move assignments, the main() function, swap() functions and also functions given as option. A more important difference is that we traverse the whole call-chain and check all the throw statements and try-catch blocks so indirectly throwing functions are also reported and no flase positives are caused by throw and catch in the same try block.


https://reviews.llvm.org/D19201





More information about the cfe-commits mailing list