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

Miklos Vajna via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Mar 6 12:41:54 PST 2017


vmiklos added inline comments.


================
Comment at: clang-tidy/misc/ThrowWithNoexceptCheck.h:20
+///\brief Warns about using throw in function declared as noexcept.
+/// It complains about every throw, even if it is caught later.
+class ThrowWithNoexceptCheck : public ClangTidyCheck {
----------------
Prazek wrote:
> aaron.ballman wrote:
> > What is the false positive rate with this check over a large codebase that uses exceptions?
> Do you know any good project to check it?
LibreOffice might be a candidate, see <https://wiki.documentfoundation.org/Development/ClangTidy> for details on how to generate a compile database for it (since it does not use cmake), then you can start testing.


https://reviews.llvm.org/D19201





More information about the cfe-commits mailing list