forked from OSchip/llvm-project
Add logic for computing preprocessor file extensions for C++ files.
llvm-svn: 91505
This commit is contained in:
parent
2610ea4da9
commit
dca6816d6a
|
@ -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";
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue