projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
49f487e
)
Add file suffix for assembler-with-cpp.
author
Eli Friedman
<eli.friedman@gmail.com>
Wed, 3 Jul 2013 18:06:11 +0000
(18:06 +0000)
committer
Eli 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
patch
|
blob
|
history
diff --git
a/clang/include/clang/Driver/Types.def
b/clang/include/clang/Driver/Types.def
index
42f0709
..
d4f52d3
100644
(file)
--- 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")