Background-indexing is fine, because it uses GlobalCompilationDatabase
to fetch the compile commands (hence uses CommandMangler), and creates
invocation through buildCompilerInvocation.
Depends on D106639.
Paths
| Differential D106669
[clangd] Unify compiler invocation creation ClosedPublic Authored by kadircet on Jul 23 2021, 8:00 AM.
Details
Summary Background-indexing is fine, because it uses GlobalCompilationDatabase Depends on D106639.
Diff Detail
Event Timelinesammccall added inline comments.
This revision is now accepted and ready to land.Jul 30 2021, 5:39 AM This revision was landed with ongoing or failed builds.Jul 30 2021, 6:23 AM Closed by commit rG41e24222861f: [clangd] Unify compiler invocation creation (authored by kadircet). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 363055 clang-tools-extra/clangd/CompileCommands.h
clang-tools-extra/clangd/Compiler.h
clang-tools-extra/clangd/Compiler.cpp
clang-tools-extra/clangd/indexer/IndexerMain.cpp
clang-tools-extra/clangd/test/indexer.test
|
Comment is good, but call this disableUnsupportedOptions?
(We're in namespace clangd already)