[PATCH] D61842: [WIP] [Not ready for review] Semantic highlighting
Nathan Ridge via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Sun May 12 20:53:09 PDT 2019
nridge created this revision.
Herald added subscribers: cfe-commits, kadircet, arphaman, mgrang, jkorous, javed.absar, mgorny.
Herald added a project: clang.
nridge planned changes to this revision.
Done:
- Basic plumbing
- Encoding of semantic highlighting tokens into the protocol format
- Computation of (most) semantic highlightings given an AST
- Unit test suite (for implemented highlightings)
Remains to be done:
- Highlightings for macro definitions and macro invocations
- Some special highlightings like overloaded operators
- End-to-end test to exercise the protocol bits
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D61842
Files:
clang-tools-extra/clangd/CMakeLists.txt
clang-tools-extra/clangd/ClangdLSPServer.cpp
clang-tools-extra/clangd/ClangdLSPServer.h
clang-tools-extra/clangd/ClangdServer.cpp
clang-tools-extra/clangd/ClangdServer.h
clang-tools-extra/clangd/Protocol.cpp
clang-tools-extra/clangd/Protocol.h
clang-tools-extra/clangd/SemanticHighlighting.cpp
clang-tools-extra/clangd/SemanticHighlighting.h
clang-tools-extra/clangd/TUScheduler.cpp
clang-tools-extra/clangd/TUScheduler.h
clang-tools-extra/clangd/unittests/CMakeLists.txt
clang-tools-extra/clangd/unittests/ClangdTests.cpp
clang-tools-extra/clangd/unittests/CodeCompleteTests.cpp
clang-tools-extra/clangd/unittests/FindSymbolsTests.cpp
clang-tools-extra/clangd/unittests/SemanticHighlightingTests.cpp
clang-tools-extra/clangd/unittests/TUSchedulerTests.cpp
clang-tools-extra/clangd/unittests/TestFS.h
clang-tools-extra/clangd/unittests/XRefsTests.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D61842.199201.patch
Type: text/x-patch
Size: 68004 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20190513/7caebc2f/attachment-0001.bin>
More information about the cfe-commits
mailing list