r219812 - [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".

Anton Yartsev anton.yartsev at gmail.com
Wed Oct 15 10:13:02 PDT 2014


Author: ayartsev
Date: Wed Oct 15 12:13:02 2014
New Revision: 219812

URL: http://llvm.org/viewvc/llvm-project?rev=219812&view=rev
Log:
[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".

Added:
    cfe/trunk/tools/scan-build/c++-analyzer.bat
    cfe/trunk/tools/scan-build/ccc-analyzer.bat

Added: cfe/trunk/tools/scan-build/c++-analyzer.bat
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/tools/scan-build/c%2B%2B-analyzer.bat?rev=219812&view=auto
==============================================================================
--- cfe/trunk/tools/scan-build/c++-analyzer.bat (added)
+++ cfe/trunk/tools/scan-build/c++-analyzer.bat Wed Oct 15 12:13:02 2014
@@ -0,0 +1 @@
+perl -S c++-analyzer %*

Added: cfe/trunk/tools/scan-build/ccc-analyzer.bat
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/tools/scan-build/ccc-analyzer.bat?rev=219812&view=auto
==============================================================================
--- cfe/trunk/tools/scan-build/ccc-analyzer.bat (added)
+++ cfe/trunk/tools/scan-build/ccc-analyzer.bat Wed Oct 15 12:13:02 2014
@@ -0,0 +1 @@
+perl -S ccc-analyzer %*





More information about the cfe-commits mailing list