Details
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Build result: pass - 59702 tests passed, 0 failed and 763 were skipped.
Log files: cmake-log.txt, ninja_check_all-log.txt, CMakeCache.txt
clang-tools-extra/clangd/SemanticHighlighting.cpp | ||
---|---|---|
51 | Could we reuse kindForCandidateDecls instead? | |
60 | Using decls never have any references and we only highlight them at their declarations locations. |
Build result: pass - 59702 tests passed, 0 failed and 763 were skipped.
Log files: cmake-log.txt, ninja_check_all-log.txt, CMakeCache.txt
LGTM. See the NITs, though
clang-tools-extra/clangd/SemanticHighlighting.cpp | ||
---|---|---|
51 | Maybe put this at the first line? This looks like a very good first step. | |
52 | Maybe do D = USD->getTargetDecl() instead? |
Could we reuse kindForCandidateDecls instead?
It's best to keep one way to highlight multiple decls.