[clang-tools-extra] Fix false positive in bugprone-throw-keyword-missing (PR #115302)

Congcong Cai via cfe-commits cfe-commits at lists.llvm.org
Fri Nov 8 15:13:06 PST 2024


================
@@ -139,6 +139,14 @@ CtorInitializerListTest::CtorInitializerListTest(float) try : exc(RegularExcepti
   RegularException();
 }
 
+// https://github.com/llvm/llvm-project/issues/115055
+class CtorInitializerListTest2 {
+ public:
+  CtorInitializerListTest2(){}
----------------
HerrCai0907 wrote:

```suggestion
  CtorInitializerListTest2() {}
```


https://github.com/llvm/llvm-project/pull/115302


More information about the cfe-commits mailing list