summaryrefslogtreecommitdiffstats
path: root/clang-tools-extra/test/clang-tidy/select-checks.cpp
blob: a30717a9922c3f557b9aa7d854536c2e21ff7202 (plain)
1
2
3
4
5
6
7
8
9
10
// RUN: grep -Ev "// *[A-Z-]+:" %s > %t.cpp
// RUN: clang-tidy %t.cpp -fix -checks=llvm.* --
// RUN: FileCheck -input-file=%t.cpp %s

namespace i {
}
// CHECK: } // namespace i

class A { A(int i); }; // Not fixing this, because the check is in google-.
// CHECK: class A { A(int i); };
OpenPOWER on IntegriCloud