[PATCH] D118592: [cte] Add release notes for clangd-14
Kadir Cetinkaya via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Jan 31 03:01:40 PST 2022
kadircet created this revision.
kadircet added a reviewer: kbobyrev.
Herald added subscribers: usaxena95, arphaman.
kadircet requested review of this revision.
Herald added subscribers: cfe-commits, MaskRay, ilya-biryukov.
Herald added a project: clang-tools-extra.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D118592
Files:
clang-tools-extra/docs/ReleaseNotes.rst
Index: clang-tools-extra/docs/ReleaseNotes.rst
===================================================================
--- clang-tools-extra/docs/ReleaseNotes.rst
+++ clang-tools-extra/docs/ReleaseNotes.rst
@@ -47,7 +47,81 @@
Improvements to clangd
----------------------
-The improvements are...
+- `clangd/inlayHints <https://clangd.llvm.org/extensions#inlay-hints>`_
+ extension to provide hints about not directly available information in code,
+ like parameter names, deduced types and designated initializers.
+
+- Diagnostics and fixes for unused include directives, according to IWYU style.
+ Off by default, can be turned on through `Diagnostics.IncludeCleaner
+ <https://clangd.llvm.org/config#unusedincludes>`_ config option.
+
+- Implementation for `textDocument/typeDefinition` LSP request.
+
+- Relevant diagnostics are emitted with `Deprecated` and `Unnecessary` tags from
+ LSP.
+
+- New semantich hihlighting kinds for:
+ - Virtual methods
+ - Mutable reference arguments
+ - Lambda captures
+
+- Support for attributes, (e.g. `[[nodiscard, gsl::Owner(Foo)]]`) in various
+ features like hover, code completion, go-to-definition.
+
+- `#pragma mark` directives now show up in document outline.
+
+- Hover for include directives displays resolved paths.
+
+- Include AKA types in hover, controlled with `Hover.ShowAKA
+ <https://clangd.llvm.org/config#showaka>`_ config option.
+
+- Hover supports character literals.
+
+- Diagnostic fixes in more contexts like:
+ - Incomplete type errors.
+ - Implicit symbol declarations in C.
+
+- Code completion for parameter name comments.
+
+- Provide and improve signature help for:
+ - Variadic functions
+ - Template argument lists
+ - Braced constructor calls
+ - Aggregate initializers
+ - Constructor initializers
+
+- Improved handling of short identifiers in code completion and workspace symbol
+ requests.
+
+- Improved handling of symbols introduced via using declarations.
+
+- Respect warning flags mentioned in `.clang-tidy` config files in
+ `ExtraArgs(Before)` sections.
+
+- `CompileFlags.Compiler <https://clangd.llvm.org/config#compiler>`_ config
+ option to override executable name in compile flags.
+
+- Compile flags effecting inputs (like -xc++-header) can now be added through
+ `CompileFlags.Add <https://clangd.llvm.org/config#add>`_ config option.
+
+- PopulateSwitch code action is now offered as a fix for `-Wswitch` warnings and
+ works with C/ObjC enums.
+
+- `clangd --check=/path/to/file.cpp` now reads config files in ancestor
+ directories, in addition to user config file.
+
+- Improved compile flags handling in `clangd-indexer`.
+
+- Include documentation for annotations in code completion items.
+
+- `-use-dirty-headers` command line flag to use dirty buffer contents when
+ building preambles, rather than saved on-disk contents.
+
+- Improved handling of ObjC/ObjC++ constructs.
+
+- Include request context on crashes when possible.
+
+- Various stability and performance improvements.
Improvements to clang-doc
-------------------------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D118592.404465.patch
Type: text/x-patch
Size: 3069 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20220131/9802d06e/attachment.bin>
More information about the cfe-commits
mailing list