[cfe-commits] r91505 - /cfe/trunk/tools/scan-build/ccc-analyzer
Mike Stump
mrs at apple.com
Wed Dec 16 09:42:59 PST 2009
On Dec 15, 2009, at 9:02 PM, Ted Kremenek wrote:
> Author: kremenek
> Date: Tue Dec 15 23:02:47 2009
> New Revision: 91505
>
> URL: http://llvm.org/viewvc/llvm-project?rev=91505&view=rev
> Log:
> Add logic for computing preprocessor file extensions for 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=91505&r1=91504&r2=91505&view=diff
>
> ==============================================================================
> --- cfe/trunk/tools/scan-build/ccc-analyzer (original)
> +++ cfe/trunk/tools/scan-build/ccc-analyzer Tue Dec 15 23:02:47 2009
> @@ -66,7 +66,9 @@
>
> sub GetPPExt {
> my $Lang = shift;
> + if ($Lang =~ /objective-c\+\+/) { return ".mm" };
> if ($Lang =~ /objective-c/) { return ".mi"; }
> + if ($Lang =~ /c\+\+/) { return ".ii"; }
> return ".i";
> }
Hum, .mii, not .mm!
More information about the cfe-commits
mailing list