summaryrefslogtreecommitdiffstats
path: root/clang-tools-extra/test/clang-tidy/enable-alpha-checks.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/enable-alpha-checks.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/enable-alpha-checks.cpp')
-rw-r--r--clang-tools-extra/test/clang-tidy/enable-alpha-checks.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/clang-tools-extra/test/clang-tidy/enable-alpha-checks.cpp b/clang-tools-extra/test/clang-tidy/enable-alpha-checks.cpp
index b1e51303498..74bdfdb5dd0 100644
--- a/clang-tools-extra/test/clang-tidy/enable-alpha-checks.cpp
+++ b/clang-tools-extra/test/clang-tidy/enable-alpha-checks.cpp
@@ -1,3 +1,5 @@
+// REQUIRES: static-analyzer
+
// Check if '-allow-enabling-analyzer-alpha-checkers' is visible for users.
// RUN: clang-tidy -help | not grep 'allow-enabling-analyzer-alpha-checkers'
OpenPOWER on IntegriCloud