Skip to content

Commit d1f761c

Browse files
HighCommander4tru
authored andcommitted
[clangd] Add clangd 21 release notes
1 parent 460ff1e commit d1f761c

File tree

1 file changed

+50
-12
lines changed

1 file changed

+50
-12
lines changed

clang-tools-extra/docs/ReleaseNotes.rst

Lines changed: 50 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -46,14 +46,18 @@ Major New Features
4646
Improvements to clangd
4747
----------------------
4848

49-
Inlay hints
50-
^^^^^^^^^^^
49+
Language feature support
50+
^^^^^^^^^^^^^^^^^^^^^^^^
5151

52-
Diagnostics
53-
^^^^^^^^^^^
52+
- Performance improvements and bugfixes to C++20 Modules support
53+
- Improved support for C++23 "deducing this"
54+
- Improvements to objective-c++ support
5455

55-
Semantic Highlighting
56-
^^^^^^^^^^^^^^^^^^^^^
56+
New Language Server Protocol features
57+
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
58+
59+
- Added support for `textDocument/rangesFormatting`
60+
- Added support for `positionEncoding`
5761

5862
Compile flags
5963
^^^^^^^^^^^^^
@@ -64,24 +68,58 @@ Compile flags
6468
Hover
6569
^^^^^
6670

71+
- Fixed a bug that would sometimes prevent documentation comments of standard library functions
72+
from being shown
73+
6774
Code completion
6875
^^^^^^^^^^^^^^^
6976

70-
Code actions
71-
^^^^^^^^^^^^
72-
73-
Signature help
74-
^^^^^^^^^^^^^^
77+
- Added `HeaderInsertion` config option to control whether code completion inserts a missing
78+
header needed for the symbol being completed. This is equivalent to the `--header-insertion`
79+
command-line option.
80+
- Added a `CodePatterns` config option to control whether code completion should offer code
81+
patterns as completions in addition to symbols.
7582

7683
Cross-references
7784
^^^^^^^^^^^^^^^^
7885

79-
Objective-C
86+
- References to symbols are now collected in array designators
87+
- Find-references now works for operators new and delete
88+
- Improvements to code navigation in templated code
89+
90+
Call hierarchy
91+
^^^^^^^^^^^^^^
92+
93+
- Call hierarchy now works with the remote index
94+
- Fixed a bug where call hierarchy could sometimes return bogus results
95+
96+
Inlay hints
8097
^^^^^^^^^^^
8198

99+
- Parameter hint forwarding now works for variadic forwarding functions declared in header files
100+
- Improved presentation of block-end hints
101+
102+
Code actions
103+
^^^^^^^^^^^^
104+
105+
- Improved the rename refactor's name collision checking logic
106+
107+
Clang-tidy integration
108+
^^^^^^^^^^^^^^^^^^^^^^
109+
110+
- Disabled the cppcoreguidelines-macro-to-enum checker which is incompatible with clangd
111+
112+
Include-cleaner integration
113+
^^^^^^^^^^^^^^^^^^^^^^^^^^^
114+
115+
- Clangd now respects the `AngledHeaders` and `QuotedHeaders` config options for headers
116+
inserted to resolve include-cleaner diagnostics
117+
82118
Miscellaneous
83119
^^^^^^^^^^^^^
84120

121+
- Various crash fixes and other stability improvements
122+
85123
Improvements to clang-doc
86124
-------------------------
87125

0 commit comments

Comments
 (0)