llvm-project/clang-tools-extra/test/clang-tidy/list-checks.cpp

5 lines
200 B
C++

// RUN: mkdir -p %T/clang-tidy/list-checks/
// RUN: echo '{Checks: "-*,google-*"}' > %T/clang-tidy/.clang-tidy
// RUN: cd %T/clang-tidy/list-checks
// RUN: clang-tidy -list-checks | grep "^ *google-"