[cfe-commits] r137382 - /cfe/trunk/tools/scan-build/ccc-analyzer
Ted Kremenek
kremenek at apple.com
Thu Aug 11 15:47:20 PDT 2011
Author: kremenek
Date: Thu Aug 11 17:47:20 2011
New Revision: 137382
URL: http://llvm.org/viewvc/llvm-project?rev=137382&view=rev
Log:
scan-build: enable C++ support by default.
Modified:
cfe/trunk/tools/scan-build/ccc-analyzer
Modified: cfe/trunk/tools/scan-build/ccc-analyzer
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/tools/scan-build/ccc-analyzer?rev=137382&r1=137381&r2=137382&view=diff
==============================================================================
--- cfe/trunk/tools/scan-build/ccc-analyzer (original)
+++ cfe/trunk/tools/scan-build/ccc-analyzer Thu Aug 11 17:47:20 2011
@@ -380,14 +380,11 @@
my %LangsAccepted = (
"objective-c" => 1,
- "c" => 1
+ "c" => 1,
+ "c++" => 1,
+ "objective-c++" => 1
);
-if (defined $ENV{'CCC_ANALYZER_CPLUSPLUS'}) {
- $LangsAccepted{"c++"} = 1;
- $LangsAccepted{"objective-c++"} = 1;
-}
-
##----------------------------------------------------------------------------##
# Main Logic.
##----------------------------------------------------------------------------##
More information about the cfe-commits
mailing list