Compute the right extension for preprocessed Objective-C++ files.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@91547 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/tools/scan-build/ccc-analyzer b/tools/scan-build/ccc-analyzer
index 7b45962..f19dcb4 100755
--- a/tools/scan-build/ccc-analyzer
+++ b/tools/scan-build/ccc-analyzer
@@ -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";