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

Stephen Kelly via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Sat Feb 20 09:29:39 PST 2021


steveire 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() {
----------------
steveire wrote:
> njames93 wrote:
> > Can I ask what the reason for these extra tests are.
> Did you miss the commit message/MR description?
Ah, sorry, the local commit message I have wasn't here. I'll add it now.



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