[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 06:45:31 PST 2022


kadircet updated this revision to Diff 404503.
kadircet marked 5 inline comments as done.
kadircet added a comment.

- Address comments


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D118592/new/

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,83 @@
 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
+  <https://clangd.llvm.org/design/include-cleaner>`_ 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 semantic 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 displays:
+  - Resolved paths for include directives.
+  - Details about character litearls.
+
+- Include desugared types in hover, controlled with `Hover.ShowAKA
+  <https://clangd.llvm.org/config#showaka>`_ config option.
+
+- 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.404503.patch
Type: text/x-patch
Size: 3137 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20220131/f33e6a90/attachment-0001.bin>


More information about the cfe-commits mailing list