summaryrefslogtreecommitdiffstats
path: root/clang-tools-extra/test/clang-tidy/read_file_config.cpp
diff options
context:
space:
mode:
authorAaron Ballman <aaron@aaronballman.com>2018-09-30 17:22:58 +0000
committerAaron Ballman <aaron@aaronballman.com>2018-09-30 17:22:58 +0000
commitbc70c26ef43641ae1f1e161cb674fe3539805650 (patch)
tree012a144509cb564ca7b82caee0a013a960e119fe /clang-tools-extra/test/clang-tidy/read_file_config.cpp
parent20623f2343487a73d3e9b8990b837a65786f7da8 (diff)
downloadbcm5719-llvm-bc70c26ef43641ae1f1e161cb674fe3539805650.tar.gz
bcm5719-llvm-bc70c26ef43641ae1f1e161cb674fe3539805650.zip
Allow clang-tidy to be built without a dependency on the clang static analyzer.
Patch by Stephen Kelly. llvm-svn: 343415
Diffstat (limited to 'clang-tools-extra/test/clang-tidy/read_file_config.cpp')
-rw-r--r--clang-tools-extra/test/clang-tidy/read_file_config.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/clang-tools-extra/test/clang-tidy/read_file_config.cpp b/clang-tools-extra/test/clang-tidy/read_file_config.cpp
index 3635c214fcd..3e39b4d630e 100644
--- a/clang-tools-extra/test/clang-tidy/read_file_config.cpp
+++ b/clang-tools-extra/test/clang-tidy/read_file_config.cpp
@@ -1,3 +1,4 @@
+// REQUIRES: static-analyzer
// RUN: mkdir -p %T/read-file-config/
// RUN: cp %s %T/read-file-config/test.cpp
// RUN: echo 'Checks: "-*,modernize-use-nullptr"' > %T/read-file-config/.clang-tidy
OpenPOWER on IntegriCloud