Skip to content

Commit 41cdc4a

Browse files
[clangd] Add clangd 18 release notes
1 parent 461274b commit 41cdc4a

File tree

1 file changed

+31
-2
lines changed

1 file changed

+31
-2
lines changed

clang-tools-extra/docs/ReleaseNotes.rst

Lines changed: 31 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,21 +51,40 @@ Improvements to clangd
5151
Inlay hints
5252
^^^^^^^^^^^
5353

54+
- Type hints
55+
* Improved heuristics for showing sugared vs. desguared types
56+
* Some hints which provide no information (e.g. ``<dependent-type>``) are now omitted
57+
- Parameter hints
58+
* Parameter hints are now shown for calls through function pointers
59+
* Parameter hints are now shown for calls to a class's ``operator()``
60+
* No longer show bogus parameter hints for some builtins like ``__builtin_dump_struct``
61+
5462
Diagnostics
5563
^^^^^^^^^^^
5664

57-
Semantic Highlighting
58-
^^^^^^^^^^^^^^^^^^^^^
65+
- Improved quality of include-cleaner diagnostics (missing and unused includes)
5966

6067
Compile flags
6168
^^^^^^^^^^^^^
6269

70+
- System include extractor (``--query-driver``) improvements
71+
* The directory containing builtin headers is now excluded from extracted system includes
72+
* Various flags which can affect the system includes (``--target``, ``--stdlib``, ``-specs``) are now forwarded to the driver
73+
* Fixed a bug where clangd would sometimes try to call a driver that didn't have obj-c support with ``-x objective-c++-header``
74+
* The driver path is now dot-normalized before being compared to the ``--query-driver`` pattern
75+
* ``--query-driver`` is now supported by ``clangd-indexer``
76+
- Fixed a regression in clangd 17 where response files would not be expanded
77+
6378
Hover
6479
^^^^^
6580

81+
- Hover now shows alignment info for fields and records
82+
6683
Code completion
6784
^^^^^^^^^^^^^^^
6885

86+
- Refined heuristics for determining whether the use of a function can be a call or not
87+
6988
Code actions
7089
^^^^^^^^^^^^
7190

@@ -75,15 +94,25 @@ Code actions
7594
Signature help
7695
^^^^^^^^^^^^^^
7796

97+
- Improved support for calls through function pointer types
98+
7899
Cross-references
79100
^^^^^^^^^^^^^^^^
80101

102+
- Improved support for C++20 concepts
103+
- Find-references now works for labels
104+
- Improvements to template heuristics
105+
81106
Objective-C
82107
^^^^^^^^^^^
83108

84109
Miscellaneous
85110
^^^^^^^^^^^^^
86111

112+
- Various stability improvements, e.g. crash fixes
113+
- Improved error recovery on invalid code
114+
- Clangd now bails gracefully on assembly and IR source files
115+
87116
Improvements to clang-doc
88117
-------------------------
89118

0 commit comments

Comments
 (0)