From a07aa69771cf9bd999ccaf77227376e8d542bf12 Mon Sep 17 00:00:00 2001 From: Eli Friedman Date: Wed, 3 Jul 2013 18:06:11 +0000 Subject: [PATCH] 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.) llvm-svn: 185562 --- clang/include/clang/Driver/Types.def | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clang/include/clang/Driver/Types.def b/clang/include/clang/Driver/Types.def index 42f0709cf17a..d4f52d3220c8 100644 --- a/clang/include/clang/Driver/Types.def +++ b/clang/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")