diff --git a/clang-tools-extra/docs/ReleaseNotes.rst b/clang-tools-extra/docs/ReleaseNotes.rst index 08eacd321d5ea..26a67da974302 100644 --- a/clang-tools-extra/docs/ReleaseNotes.rst +++ b/clang-tools-extra/docs/ReleaseNotes.rst @@ -51,34 +51,67 @@ Improvements to clangd Inlay hints ^^^^^^^^^^^ +- Provide hints for: + - Lambda return types. + - Forwarding functions using the underlying function call. +- Support for standard LSP 3.17 inlay hints protocol. +- Designator inlay hints are enabled by default. + Diagnostics ^^^^^^^^^^^ + - Improved Fix-its of some clang-tidy checks when applied with clangd. +- Clangd now produces diagnostics for forwarding functions like make_unique. +- Include cleaner analysis can be disabled with the ``Diagnostics.Includes.IgnoreHeader`` config option. +- Include cleaner doesn’t diagnose exporting headers. +- clang-tidy and include cleaner diagnostics have links to their documentation. Semantic Highlighting ^^^^^^^^^^^^^^^^^^^^^ -Compile flags -^^^^^^^^^^^^^ +- Semantic highlighting works for tokens that span multiple lines. +- Mutable reference parameters in function calls receive ``usedAsMutableReference`` modifier. Hover ^^^^^ +- Hover displays desugared types by default now. + Code completion ^^^^^^^^^^^^^^^ +- Improved ranking/filtering for ObjC method selectors. +- Support for C++20 concepts and requires expressions. + Signature help ^^^^^^^^^^^^^^ +- Signature help for function pointers. +- Provides hints using underlying functions in forwarded calls. + Cross-references ^^^^^^^^^^^^^^^^ -Objective-C -^^^^^^^^^^^ +Code Actions +^^^^^^^^^^^^ + +- New code action to generate ObjC initializers. +- New code action to generate move/copy constructors/assignments. +- Extract to function works for methods in addition to free functions. +- Related diagnostics are attached to code actions response, if any. +- Extract variable works in C and ObjC files. +- Fix to define outline when the parameter has a braced initializer. Miscellaneous ^^^^^^^^^^^^^ +- Include fixer supports symbols inside macro arguments. +- Dependent autos are now deduced when there’s a single instantiation. +- Support for symbols exported with using declarations in all features. +- Fixed background-indexing priority for M1 chips. +- Indexing for standard library symbols. +- ObjC framework includes are spelled properly during include insertion operations. + Improvements to clang-doc -------------------------