summaryrefslogtreecommitdiffstats
path: root/clang-tools-extra/test/clang-tidy/mpi-buffer-deref.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/mpi-buffer-deref.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/mpi-buffer-deref.cpp')
-rw-r--r--clang-tools-extra/test/clang-tidy/mpi-buffer-deref.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/clang-tools-extra/test/clang-tidy/mpi-buffer-deref.cpp b/clang-tools-extra/test/clang-tidy/mpi-buffer-deref.cpp
index 67304d23010..47d58a5a6c4 100644
--- a/clang-tools-extra/test/clang-tidy/mpi-buffer-deref.cpp
+++ b/clang-tools-extra/test/clang-tidy/mpi-buffer-deref.cpp
@@ -1,3 +1,4 @@
+// REQUIRES: static-analyzer
// RUN: %check_clang_tidy %s mpi-buffer-deref %t -- -- -I %S/Inputs/mpi-type-mismatch
#include "mpimock.h"
OpenPOWER on IntegriCloud