]> granicus.if.org Git - clang/commitdiff
[analyzer] Recreated as a file.
authorAnton Yartsev <anton.yartsev@gmail.com>
Thu, 2 May 2013 01:41:51 +0000 (01:41 +0000)
committerAnton Yartsev <anton.yartsev@gmail.com>
Thu, 2 May 2013 01:41:51 +0000 (01:41 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@180903 91177308-0d34-0410-b5e6-96231b3b80d8

tools/scan-build/c++-analyzer [new file with mode: 0644]

diff --git a/tools/scan-build/c++-analyzer b/tools/scan-build/c++-analyzer
new file mode 100644 (file)
index 0000000..dda5db9
--- /dev/null
@@ -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';