aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorAnton Yartsev <anton.yartsev@gmail.com>2013-05-02 01:41:51 +0000
committerAnton Yartsev <anton.yartsev@gmail.com>2013-05-02 01:41:51 +0000
commit96d63a2731ec7c6759f37c4c8f507681088a0661 (patch)
treee249932c465fe7943ec28bdd7858357eac055ce7 /tools
parent6a22d399f14b90b4438dd86d8577517096c309b2 (diff)
[analyzer] Recreated as a file.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@180903 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools')
-rw-r--r--tools/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 100644
index 0000000000..dda5db9c7d
--- /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';