[clang-tools-extra] [clang-tidy] Migrate explicit-constructor check from google to misc and add relative aliases (PR #194807)

Baranov Victor via cfe-commits cfe-commits at lists.llvm.org
Sun May 3 22:44:28 PDT 2026


================
@@ -20,7 +23,7 @@ struct C {
 
 struct D {
   explicit(ConstFalse) D(int);
-  // CHECK-MESSAGES: :[[@LINE-1]]:24: warning: single-argument constructors explicit expression evaluates to 'false' [google-explicit-constructor]
+  // CHECK-MESSAGES: :[[@LINE-1]]:24: warning: single-argument constructors explicit expression evaluates to 'false' [{{.*}}]
----------------
vbvictor wrote:

```suggestion
  // CHECK-MESSAGES: :[[@LINE-1]]:24: warning: single-argument constructors explicit expression evaluates to 'false'
```
We can just remove it

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


More information about the cfe-commits mailing list