[llvm-branch-commits] [clang-tools-extra] [clangd] Add clangd 21 release notes (PR #152256)
via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Tue Aug 5 23:32:31 PDT 2025
llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-clang-tools-extra
Author: Nathan Ridge (HighCommander4)
<details>
<summary>Changes</summary>
---
Full diff: https://github.com/llvm/llvm-project/pull/152256.diff
1 Files Affected:
- (modified) clang-tools-extra/docs/ReleaseNotes.rst (+50-12)
``````````diff
diff --git a/clang-tools-extra/docs/ReleaseNotes.rst b/clang-tools-extra/docs/ReleaseNotes.rst
index cf97ab7082472..b7aa55a2e20d0 100644
--- a/clang-tools-extra/docs/ReleaseNotes.rst
+++ b/clang-tools-extra/docs/ReleaseNotes.rst
@@ -46,14 +46,18 @@ Major New Features
Improvements to clangd
----------------------
-Inlay hints
-^^^^^^^^^^^
+Language feature support
+^^^^^^^^^^^^^^^^^^^^^^^^
-Diagnostics
-^^^^^^^^^^^
+- Performance improvements and bugfixes to C++20 Modules support
+- Improved support for C++23 "deducing this"
+- Improvements to objective-c++ support
-Semantic Highlighting
-^^^^^^^^^^^^^^^^^^^^^
+New Language Server Protocol features
+^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+
+- Added support for `textDocument/rangesFormatting`
+- Added support for `positionEncoding`
Compile flags
^^^^^^^^^^^^^
@@ -64,24 +68,58 @@ Compile flags
Hover
^^^^^
+- Fixed a bug that would sometimes prevent documentation comments of standard library functions
+ from being shown
+
Code completion
^^^^^^^^^^^^^^^
-Code actions
-^^^^^^^^^^^^
-
-Signature help
-^^^^^^^^^^^^^^
+- Added `HeaderInsertion` config option to control whether code completion inserts a missing
+ header needed for the symbol being completed. This is equivalent to the `--header-insertion`
+ command-line option.
+- Added a `CodePatterns` config option to control whether code completion should offer code
+ patterns as completions in addition to symbols.
Cross-references
^^^^^^^^^^^^^^^^
-Objective-C
+- References to symbols are now collected in array designators
+- Find-references now works for operators new and delete
+- Improvements to code navigation in templated code
+
+Call hierarchy
+^^^^^^^^^^^^^^
+
+- Call hierarchy now works with the remote index
+- Fixed a bug where call hierarchy could sometimes return bogus results
+
+Inlay hints
^^^^^^^^^^^
+- Parameter hint forwarding now works for variadic forwarding functions declared in header files
+- Improved presentation of block-end hints
+
+Code actions
+^^^^^^^^^^^^
+
+- Improved the rename refactor's name collision checking logic
+
+Clang-tidy integration
+^^^^^^^^^^^^^^^^^^^^^^
+
+- Disabled the cppcoreguidelines-macro-to-enum checker which is incompatible with clangd
+
+Include-cleaner integration
+^^^^^^^^^^^^^^^^^^^^^^^^^^^
+
+- Clangd now respects the `AngledHeaders` and `QuotedHeaders` config options for headers
+ inserted to resolve include-cleaner diagnostics
+
Miscellaneous
^^^^^^^^^^^^^
+- Various crash fixes and other stability improvements
+
Improvements to clang-doc
-------------------------
``````````
</details>
https://github.com/llvm/llvm-project/pull/152256
More information about the llvm-branch-commits
mailing list