[all-commits] [llvm/llvm-project] 147bce: [clangd] textDocument/documentLink to support incl...
frayien via All-commits
all-commits at lists.llvm.org
Mon Aug 4 02:37:59 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 147bce78588b53db661888257e8bb915f1de98d9
https://github.com/llvm/llvm-project/commit/147bce78588b53db661888257e8bb915f1de98d9
Author: frayien <garbani.adrien at yahoo.fr>
Date: 2025-08-04 (Mon, 04 Aug 2025)
Changed paths:
M clang-tools-extra/clangd/XRefs.cpp
M clang-tools-extra/clangd/unittests/XRefsTests.cpp
Log Message:
-----------
[clangd] textDocument/documentLink to support include statements with macro argument (#137550)
See issue https://github.com/clangd/clangd/issues/2375
The clangd textDocument/documentLink request does not support include
statements with macro argument and fails by returning an invalid range.
This PR adds support for macro argument by detecting what form of
include statement is currently being processed and returning a range
accordingly
First time contributing to LLVM, so if you have advice, questions or if
I messed up procedure please tell me !
---------
Co-authored-by: Adrien Garbani <garbani.adrien at frayien.fr>
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list