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
- rG LLVM Github Monorepo
- Build Status
Buildable 38801 Build 38800: arc lint + arc unit
Event Timeline
Comment Actions
thanks, mostly LG
clang-tools-extra/clangd/ClangdServer.cpp | ||
---|---|---|
453 | 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 | ||
194–195 | i don't think it is a helper function anymore | |
clang-tools-extra/clangd/unittests/HeaderSourceSwitchTests.cpp | ||
250 | could we rather provide testPath("src/include") to make sure this also works on windows? |
i don't think it is a helper function anymore