r185562 - Add file suffix for assembler-with-cpp.
Eli Friedman
eli.friedman at gmail.com
Wed Jul 3 11:06:12 PDT 2013
Author: efriedma
Date: Wed Jul 3 13:06:11 2013
New Revision: 185562
URL: http://llvm.org/viewvc/llvm-project?rev=185562&view=rev
Log:
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.)
Modified:
cfe/trunk/include/clang/Driver/Types.def
Modified: cfe/trunk/include/clang/Driver/Types.def
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Driver/Types.def?rev=185562&r1=185561&r2=185562&view=diff
==============================================================================
--- cfe/trunk/include/clang/Driver/Types.def (original)
+++ cfe/trunk/include/clang/Driver/Types.def Wed Jul 3 13:06:11 2013
@@ -66,7 +66,7 @@ TYPE("objective-c++-header", ObjCXXH
// 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")
More information about the cfe-commits
mailing list