aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenModule.cpp
diff options
context:
space:
mode:
authorDavid Majnemer <david.majnemer@gmail.com>2014-12-15 09:03:58 +0000
committerDavid Majnemer <david.majnemer@gmail.com>2014-12-15 09:03:58 +0000
commitd616362fe3dc7074945fd476ba8c43fa82524f87 (patch)
tree04bf19d9d90684a793c904c010eaf5c9fc310ff5 /clang/lib/CodeGen/CodeGenModule.cpp
parent418ad3ff107dfde7f6d7c3e87f810fbbb8515ed4 (diff)
downloadllvm-d616362fe3dc7074945fd476ba8c43fa82524f87.zip
llvm-d616362fe3dc7074945fd476ba8c43fa82524f87.tar.gz
llvm-d616362fe3dc7074945fd476ba8c43fa82524f87.tar.bz2
Preprocessor: Recover instead of mutating a token in ExpandBuiltinMacro
We would CreateString on arbitrary garbage instead of just skipping to the end of the builtin macro. Eventually, this would cause us to crash because we would end up replacing the contents of a character token with a numeric literal. This fixes PR21825. llvm-svn: 224238
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions