[clang-tools-extra] 236458e - [cte] Add release notes for clangd-14

Kadir Cetinkaya via cfe-commits cfe-commits at lists.llvm.org
Mon Jan 31 07:32:31 PST 2022


Author: Kadir Cetinkaya
Date: 2022-01-31T16:32:25+01:00
New Revision: 236458ef0298a5e078cabe775ed6884b1332426c

URL: https://github.com/llvm/llvm-project/commit/236458ef0298a5e078cabe775ed6884b1332426c
DIFF: https://github.com/llvm/llvm-project/commit/236458ef0298a5e078cabe775ed6884b1332426c.diff

LOG: [cte] Add release notes for clangd-14

Differential Revision: https://reviews.llvm.org/D118592

Added: 
    

Modified: 
    clang-tools-extra/docs/ReleaseNotes.rst

Removed: 
    


################################################################################
diff  --git a/clang-tools-extra/docs/ReleaseNotes.rst b/clang-tools-extra/docs/ReleaseNotes.rst
index dbbe79c1aac28..b5a6ff25cb2e9 100644
--- a/clang-tools-extra/docs/ReleaseNotes.rst
+++ b/clang-tools-extra/docs/ReleaseNotes.rst
@@ -47,7 +47,83 @@ Major New Features
 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 highlighting 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
 -------------------------


        


More information about the cfe-commits mailing list