[PATCH] D35181: Defer addition of keywords to identifier table when loading AST
Alex Lorenz via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Nov 15 16:56:58 PST 2017
arphaman added a comment.
Thanks for the patch!
================
Comment at: lib/Frontend/ASTUnit.cpp:541
+ // language.
+ PP.getIdentifierTable().AddKeywords(LangOpt);
+
----------------
Have you tried adding the keywords in `PP.Initialize`? We might not need an additional parameter to the constructor then.
https://reviews.llvm.org/D35181
More information about the cfe-commits
mailing list