diff options
author | David Majnemer <david.majnemer@gmail.com> | 2014-12-28 07:42:49 +0000 |
---|---|---|
committer | David Majnemer <david.majnemer@gmail.com> | 2014-12-28 07:42:49 +0000 |
commit | f2d3bc047406f811c2942de9cd3d84bc4b6c8f54 (patch) | |
tree | 9b279a0b21004d4b8c1544a0b531629d027f2741 /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | a894e9e070e10c54e4a012bd5f93eafedf050ff9 (diff) | |
download | llvm-f2d3bc047406f811c2942de9cd3d84bc4b6c8f54.zip llvm-f2d3bc047406f811c2942de9cd3d84bc4b6c8f54.tar.gz llvm-f2d3bc047406f811c2942de9cd3d84bc4b6c8f54.tar.bz2 |
Lex: Don't let annotation tokens get into macro expansion
We'd let annotation tokens from '#pragma pack' and the like get inside a
function-like macro. This would lead to terror and mayhem; stop the
madness early.
This fixes PR22037.
llvm-svn: 224896
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions