summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorAnton Yartsev <anton.yartsev@gmail.com>2014-10-15 17:13:02 +0000
committerAnton Yartsev <anton.yartsev@gmail.com>2014-10-15 17:13:02 +0000
commit6b0ed0ae9203ed21763a42377ca0b600ac58f0b0 (patch)
tree4cbdad6a86ceaaa7244e1e8d6e29fb8ed104f2e3 /tools
parent065a98c4ce5af0110844dd6a43659cfda618e990 (diff)
[analyzer] Perl scripts are run differently from makefiles. Sometimes additional utilities are involved, e.g. 'env' utility that present in MSYS but is missing in MinGW. The patch unifies launch of "c++-analyzer" and "ccc-analyzer".
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@219812 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools')
-rw-r--r--tools/scan-build/c++-analyzer.bat1
-rw-r--r--tools/scan-build/ccc-analyzer.bat1
2 files changed, 2 insertions, 0 deletions
diff --git a/tools/scan-build/c++-analyzer.bat b/tools/scan-build/c++-analyzer.bat
new file mode 100644
index 0000000000..69f048a916
--- /dev/null
+++ b/tools/scan-build/c++-analyzer.bat
@@ -0,0 +1 @@
+perl -S c++-analyzer %*
diff --git a/tools/scan-build/ccc-analyzer.bat b/tools/scan-build/ccc-analyzer.bat
new file mode 100644
index 0000000000..2a85376eb8
--- /dev/null
+++ b/tools/scan-build/ccc-analyzer.bat
@@ -0,0 +1 @@
+perl -S ccc-analyzer %*