summaryrefslogtreecommitdiff
path: root/tools/scan-build/c++-analyzer
diff options
context:
space:
mode:
Diffstat (limited to 'tools/scan-build/c++-analyzer')
-rwxr-xr-xtools/scan-build/c++-analyzer8
1 files changed, 8 insertions, 0 deletions
diff --git a/tools/scan-build/c++-analyzer b/tools/scan-build/c++-analyzer
new file mode 100755
index 0000000..dda5db9
--- /dev/null
+++ b/tools/scan-build/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';