[PATCH] D57108: [clang-tidy] diagnose possibiltiy to add 'noexcept' in modernize-use-noexcept

Roman Lebedev via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Jan 31 02:59:34 PST 2019


lebedev.ri added a comment.

Please add tests with lambdas,



================
Comment at: test/clang-tidy/modernize-use-noexcept-new-noexcept.cpp:5-6
+
+void undefined();
+void undefinedNoexcept() noexcept;
+
----------------
Unused functions.
I suspect if the first one called, we can't be optimistic, and say that `noexcept` can be added?


Repository:
  rCTE Clang Tools Extra

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D57108/new/

https://reviews.llvm.org/D57108





More information about the cfe-commits mailing list