summaryrefslogtreecommitdiffstats
path: root/clang-tools-extra/test/clang-tidy/select-checks.cpp
blob: 71c6ad12d0383925d8f8264185cb8bda08daadf4 (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-.* -disable-checks='' --
// 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