[PATCH] D64384: [WIP] Index-while-building
Dmitri Gribenko via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Aug 14 03:08:34 PDT 2019
gribozavr added inline comments.
================
Comment at: clang/lib/Frontend/CompilerInstance.cpp:1132
+ // FIXME: I have no idea what the best way to do this is, but it's
+ // probably not this. Interfaces changed upstream.
+ std::unique_ptr<FrontendAction> Action(
----------------
My suggestion would be to change GenerateModuleAction::CreateASTConsumer to perform the indexing. Doing so will avoid the problem of having to compose FrontendActions (which we found in another patch to be tricky), and also will make the code a lot more straightforward, I think.
WDYT?
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D64384/new/
https://reviews.llvm.org/D64384
More information about the llvm-commits
mailing list