Use a test instead of runtime checks. http://reviews.llvm.org/D4982
Files: test/clang-tidy/validate-check-names.cpp
Index: test/clang-tidy/validate-check-names.cpp =================================================================== --- /dev/null +++ test/clang-tidy/validate-check-names.cpp @@ -0,0 +1,2 @@ +// Check names may only contain alphanumeric characters, '-', '_', and '.'. +// RUN: clang-tidy -checks=* -list-checks - -- | grep '^ ' | cut -b5- | not grep -v '^[a-zA-Z0-9_.\-]\+$'
_______________________________________________ cfe-commits mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
