[PATCH] D45887: [CodeComplete] Fix completion at the end of keywords
Ilya Biryukov via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Apr 24 06:46:27 PDT 2018
ilya-biryukov added inline comments.
================
Comment at: lib/Lex/Lexer.cpp:1647
// looking up the identifier in the identifier table.
IdentifierInfo *II = PP->LookUpIdentifierInfo(Result);
----------------
sammccall wrote:
> move this down to where it's used - it's ignored for CC
It actually updates `Result` too!
And things break if we don't call it. Added a comment.
Repository:
rC Clang
https://reviews.llvm.org/D45887
More information about the cfe-commits
mailing list