[clang-tools-extra] [clangd] Support symbolTags for document symbol (PR #113669)

Dietrich Travkin via cfe-commits cfe-commits at lists.llvm.org
Fri Nov 29 00:39:39 PST 2024


travkin79 wrote:

Hi @chouzz,

> @HighCommander4 Just try to avoid building clangd locally.

I built your branch of llvm / clangd locally. I did the following on a linux machine

* do a shallow clone `git clone -b support-symbolTags --depth 1 git at github.com:chouzz/llvm-project.git`
* prepare the build for Eclipse IDE and an install path `/usr/local/clangd-test/bin` (I did use this path to keep the original installed clangd version unchanged) `cmake -S llvm -B build -G "Eclipse CDT4 - Unix Makefiles" -DLLVM_ENABLE_PROJECTS="clang;clang-tools-extra" -DCMAKE_INSTALL_PREFIX=/usr/local/clangd-test -DCMAKE_BUILD_TYPE=Release`
* build with `cmake --build build --target clangd`
* optionally run the tests (I skipped that) `cmake --build build --target check-clangd`
* optionally install `cmake --build build --target install`

I must admit, it takes some time to clone and especially to build the project.

https://github.com/llvm/llvm-project/pull/113669


More information about the cfe-commits mailing list