Add file suffix for assembler-with-cpp.
authorEli Friedman <eli.friedman@gmail.com>
Wed, 3 Jul 2013 18:06:11 +0000 (18:06 +0000)
committerEli Friedman <eli.friedman@gmail.com>
Wed, 3 Jul 2013 18:06:11 +0000 (18:06 +0000)
Fixes crash when trying to recover from a crash on an assembler-with-cpp
file.  (Not sure how to write a testcase.)

llvm-svn: 185562

clang/include/clang/Driver/Types.def

index 42f0709..d4f52d3 100644 (file)
@@ -66,7 +66,7 @@ TYPE("objective-c++-header",     ObjCXXHeader, PP_ObjCXXHeader, 0,       "pu")
 // Other languages.
 TYPE("ada",                      Ada,          INVALID,         0,       "u")
 TYPE("assembler",                PP_Asm,       INVALID,         "s",     "au")
-TYPE("assembler-with-cpp",       Asm,          PP_Asm,          0,       "au")
+TYPE("assembler-with-cpp",       Asm,          PP_Asm,          "S",     "au")
 TYPE("f95",                      PP_Fortran,   INVALID,         0,       "u")
 TYPE("f95-cpp-input",            Fortran,      PP_Fortran,      0,       "u")
 TYPE("java",                     Java,         INVALID,         0,       "u")