diff options
author | Chris Lattner <sabre@nondot.org> | 2009-05-25 17:16:10 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2009-05-25 17:16:10 +0000 |
commit | 83bd8281e556a42b47e5b136691128236d8d1e2f (patch) | |
tree | 649e7479327951e6432d72e3ea828866b90e0c8a /clang/lib/CodeGen/CodeGenModule.cpp | |
parent | be31b7b5346eb07c29c9ab68bc0743cc7d2c3d0e (diff) | |
download | bcm5719-llvm-83bd8281e556a42b47e5b136691128236d8d1e2f.tar.gz bcm5719-llvm-83bd8281e556a42b47e5b136691128236d8d1e2f.zip |
Fix a couple of bugs:
1. When we accept "#garbage" in asm-with-cpp mode, change the token kind
of the # to unknown so that the preprocessor won't try to process it as
a real #. This fixes a crash on the attached example
2. Fix macro definition extents processing to handle #foo at the end of a
macro to say the definition ends with the foo, not the #.
This is a follow-on fix to r72283, and rdar://6916026
llvm-svn: 72388
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions