If the file heuristic fails, we try to use the index&AST to do the
header/source inference.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
Comment Actions
thanks, mostly LG
clang-tools-extra/clangd/ClangdServer.cpp | ||
---|---|---|
453 ↗ | (On Diff #222396) | could you add some comments explaining, why we first use file-only version(speed) and why try with an ast&index afterwards(making use of declarations) |
clang-tools-extra/clangd/ClangdServer.h | ||
195 ↗ | (On Diff #222396) | i don't think it is a helper function anymore |
clang-tools-extra/clangd/unittests/HeaderSourceSwitchTests.cpp | ||
250 ↗ | (On Diff #222396) | could we rather provide testPath("src/include") to make sure this also works on windows? |