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

6 lines
219 B
C++

// REQUIRES: shell
// 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-"