1 | // RUN: clang-tidy -checks=-*,google-explicit-constructor %s 2>&1 | FileCheck %s |
---|---|
2 | #include "foo.h" |
3 | // CHECK: foo.h:1:12: warning: single-argument constructors must be marked explicit |
4 |
1 | // RUN: clang-tidy -checks=-*,google-explicit-constructor %s 2>&1 | FileCheck %s |
---|---|
2 | #include "foo.h" |
3 | // CHECK: foo.h:1:12: warning: single-argument constructors must be marked explicit |
4 |