From: Eli Friedman Date: Wed, 3 Jul 2013 18:06:11 +0000 (+0000) Subject: Add file suffix for assembler-with-cpp. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2b78142636ad8470bc6d05d7508623ff7e3905d4;p=clang Add file suffix for assembler-with-cpp. Fixes crash when trying to recover from a crash on an assembler-with-cpp file. (Not sure how to write a testcase.) git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@185562 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/clang/Driver/Types.def b/include/clang/Driver/Types.def index 42f0709cf1..d4f52d3220 100644 --- a/include/clang/Driver/Types.def +++ b/include/clang/Driver/Types.def @@ -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")