diff options
author | David Majnemer <david.majnemer@gmail.com> | 2014-12-28 22:28:32 +0000 |
---|---|---|
committer | David Majnemer <david.majnemer@gmail.com> | 2014-12-28 22:28:32 +0000 |
commit | 06039218f5ef078b7a815a68d2f9eca44658d7f0 (patch) | |
tree | db51e2aaef185c11d0f646c1e8ca410a95b114b1 /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | 3087a2b949d7e952c1aecfd6579b40908380851b (diff) | |
download | llvm-06039218f5ef078b7a815a68d2f9eca44658d7f0.zip llvm-06039218f5ef078b7a815a68d2f9eca44658d7f0.tar.gz llvm-06039218f5ef078b7a815a68d2f9eca44658d7f0.tar.bz2 |
Parse: Don't crash when 'typename' shows up in an attribute
isDeclarationSpecifier performs error recovers which jostles the token
stream. Specifically, TryAnnotateTypeOrScopeToken will end up consuming
a typename token which will confuse the attribute parsing machinery as
we no-longer have something identifier-like.
llvm-svn: 224903
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions