Add logic for computing preprocessor file extensions for C++ files.

llvm-svn: 91505
This commit is contained in:
Ted Kremenek 2009-12-16 05:02:47 +00:00
parent 2610ea4da9
commit dca6816d6a
1 changed files with 2 additions and 0 deletions

View File

@ -66,7 +66,9 @@ END {
sub GetPPExt {
my $Lang = shift;
if ($Lang =~ /objective-c\+\+/) { return ".mm" };
if ($Lang =~ /objective-c/) { return ".mi"; }
if ($Lang =~ /c\+\+/) { return ".ii"; }
return ".i";
}