[PATCH] D96132: [clang-tidy] Simplify throw keyword missing check

Nathan James via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Sat Feb 20 07:43:36 PST 2021


njames93 added inline comments.


================
Comment at: clang-tools-extra/test/clang-tidy/checkers/bugprone-throw-keyword-missing.cpp:97-107
+template <class SomeType>
+void templ(int i) {
+  if (i > 0)
+    SomeType();
+}
+
 void funcCallWithTempExcTest() {
----------------
Can I ask what the reason for these extra tests are.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D96132



More information about the cfe-commits mailing list