[llvm-branch-commits] [clang-tools-extra] [clangd] Add clangd 23 release notes (PR #211990)
Chuanqi Xu via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Sun Jul 26 20:29:03 PDT 2026
================
@@ -174,24 +202,93 @@ Code completion
``bundled``. To change back to the old behaviour, pass the argument
``--completion-style=bundled`` to clangd.
+- The ``ArgumentLists`` config option is respected for lambdas
+
+- Code completion for field names in ``__builtin_offsetof`` expressions
+
+- Clangd tries harder to find parameter names to show during code completion,
+ looking in other redeclarations of a function if necessary
+
+Cross-references
+^^^^^^^^^^^^^^^^
+
+- Code navigation works correctly on tokens inside attributes,
+ ``__builtin_offsetof`` expressions, and member pointers
+
+- "Find implementations" finds implementations recursively
+
+- "Go to definition" on a forwarding wrapper like ``make_unique``
+ also offers the called constructor as a target
+
+- "Document symbols" supports the new symbol tags added in LSP 3.18
+
+- "Workspace symbols" ensures that a primary definition is ranked
+ above typedefs
+
+Inlay hints
+^^^^^^^^^^^
+
+- Correct inlay hints are shown for dependent calls to functions with
+ an explicit object parameter (C++23 "deducing this")
+
Code actions
^^^^^^^^^^^^
- A new tweak "Create function body out-of-line" was added that creates
an implementation for a function declaration.
-Signature help
+- The "define out of line" code action has improved logic for finding
+ an insertion point which considers ``=default`` functions.
+
+- The "define out of line" code action has improved logic for using
+ qualified names in the printed definition
+
+Semantic Highlighting
+^^^^^^^^^^^^^^^^^^^^^
+
+- Fixed a regression in the highlighting of using-declarations and
+ symbols introduced by them
+
+Call hierarchy
^^^^^^^^^^^^^^
-Cross-references
-^^^^^^^^^^^^^^^^
+- Removed redundant symbol name from hierarchy item details
-Objective-C
-^^^^^^^^^^^
+Remote index
+^^^^^^^^^^^^
+
+- Improved cross platform support (e.g. serving an index to windows
+ clients from a server running on linux)
+
+Improvements to C++20 Modules support
----------------
ChuanqiXu9 wrote:
> So my question is, in what situation would a user want to run clangd with --skip-preamble-build=true?
In case, the user want to get some adventure to see if the option may make clangd build faster... technically, it is not always bad to run PCH and modules together. But we just saw too many failures but failed to understand the very deep real reasons.
> I did mention the cache [here](https://github.com/llvm/llvm-project/blob/86b9476d9d2b8782d32007b61dac0cdaac56d1f9/clang-tools-extra/docs/ReleaseNotes.rst#L274).
Got it. LGTM. Thanks.
https://github.com/llvm/llvm-project/pull/211990
More information about the llvm-branch-commits
mailing list