[PATCH] D33537: [clang-tidy] Exception Escape Checker
Balogh, Ádám via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri May 26 01:54:32 PDT 2017
baloghadamsoftware added a comment.
In https://reviews.llvm.org/D33537#764834, @Prazek wrote:
> How is that compared to https://reviews.llvm.org/D19201 and the clang patch mentioned in this patch?
Actually, this check does much more. 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/D33537
More information about the cfe-commits
mailing list