diff options
author | Richard Smith <richard-llvm@metafoo.co.uk> | 2014-09-23 21:05:52 +0000 |
---|---|---|
committer | Richard Smith <richard-llvm@metafoo.co.uk> | 2014-09-23 21:05:52 +0000 |
commit | bdf54a21b5e3392b431b6569007cb61689c76a3c (patch) | |
tree | 13c81be40bfacfa0fec584244b9b57b9529601d6 /clang/lib/Sema/SemaDecl.cpp | |
parent | 6dbbbc28b0fd9f7a6f4f1eb5a5a875d8d8cf074a (diff) | |
download | bcm5719-llvm-bdf54a21b5e3392b431b6569007cb61689c76a3c.tar.gz bcm5719-llvm-bdf54a21b5e3392b431b6569007cb61689c76a3c.zip |
PR18793: If we try to EnterTokenStream when our current lexer is a caching
lexer, add the token buffer underneath the caching lexer where possible and
push the tokens directly into the caching lexer otherwise. We previously
put the lexer into a corrupted state where we could not guarantee to provide
the tokens in the right order and would sometimes assert.
llvm-svn: 218333
Diffstat (limited to 'clang/lib/Sema/SemaDecl.cpp')
0 files changed, 0 insertions, 0 deletions