summaryrefslogtreecommitdiffstats
path: root/clang/tools/scan-build/libexec/c++-analyzer
diff options
context:
space:
mode:
Diffstat (limited to 'clang/tools/scan-build/libexec/c++-analyzer')
-rwxr-xr-xclang/tools/scan-build/libexec/c++-analyzer8
1 files changed, 8 insertions, 0 deletions
diff --git a/clang/tools/scan-build/libexec/c++-analyzer b/clang/tools/scan-build/libexec/c++-analyzer
new file mode 100755
index 00000000000..dda5db9c7d9
--- /dev/null
+++ b/clang/tools/scan-build/libexec/c++-analyzer
@@ -0,0 +1,8 @@
+#!/usr/bin/env perl
+
+use Cwd qw/ abs_path /;
+use File::Basename qw/ dirname /;
+# Add scan-build dir to the list of places where perl looks for modules.
+use lib dirname(abs_path($0));
+
+do 'ccc-analyzer';
OpenPOWER on IntegriCloud