[clang] [clang-tools-extra] [analyzer] Remove alpha.core.IdenticalExpr Checker (PR #114715)

Julian Schmidt via cfe-commits cfe-commits at lists.llvm.org
Wed Nov 13 11:01:49 PST 2024


================
@@ -1,4 +1,5 @@
-// RUN: %clang_analyze_cc1 -analyzer-checker=core,alpha.core.IdenticalExpr -w -verify %s
+// RUN: clang-tidy %s -checks="-*,misc-redundant-expression" -- 2>&1 | FileCheck %s --check-prefix=IDENTEXPR
+// RUN: clang-tidy %s -checks="-*,bugprone-branch-clone" -- 2>&1 | FileCheck %s --check-prefix=BUGPRONEBRANCH
----------------
5chmidti wrote:

Please use, e.g., 
```c++
// RUN: check_clang_tidy %s misc-redundant-expression %t -check-suffix=IDENTEXPR

// CHECK-MESSAGES-IDENTEXPR...
```

instead

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


More information about the cfe-commits mailing list