[cfe-commits] r91547 - /cfe/trunk/tools/scan-build/ccc-analyzer
Ted Kremenek
kremenek at apple.com
Wed Dec 16 10:32:41 PST 2009
Author: kremenek
Date: Wed Dec 16 12:32:41 2009
New Revision: 91547
URL: http://llvm.org/viewvc/llvm-project?rev=91547&view=rev
Log:
Compute the right extension for preprocessed Objective-C++ files.
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=91547&r1=91546&r2=91547&view=diff
==============================================================================
--- cfe/trunk/tools/scan-build/ccc-analyzer (original)
+++ cfe/trunk/tools/scan-build/ccc-analyzer Wed Dec 16 12:32:41 2009
@@ -66,7 +66,7 @@
sub GetPPExt {
my $Lang = shift;
- if ($Lang =~ /objective-c\+\+/) { return ".mm" };
+ if ($Lang =~ /objective-c\+\+/) { return ".mii" };
if ($Lang =~ /objective-c/) { return ".mi"; }
if ($Lang =~ /c\+\+/) { return ".ii"; }
return ".i";
More information about the cfe-commits
mailing list