[llvm-branch-commits] [clang-tools-extra] [clangd] Add clangd 18 release notes (PR #84436)
Nathan Ridge via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Thu Mar 7 23:01:05 PST 2024
https://github.com/HighCommander4 created https://github.com/llvm/llvm-project/pull/84436
None
>From 41cdc4a095d3082a3d6764c8950e626156c7bb07 Mon Sep 17 00:00:00 2001
From: Nathan Ridge <zeratul976 at hotmail.com>
Date: Fri, 8 Mar 2024 02:00:08 -0500
Subject: [PATCH] [clangd] Add clangd 18 release notes
---
clang-tools-extra/docs/ReleaseNotes.rst | 33 +++++++++++++++++++++++--
1 file changed, 31 insertions(+), 2 deletions(-)
diff --git a/clang-tools-extra/docs/ReleaseNotes.rst b/clang-tools-extra/docs/ReleaseNotes.rst
index 5758b5acbc0b56..d963642b812fbf 100644
--- a/clang-tools-extra/docs/ReleaseNotes.rst
+++ b/clang-tools-extra/docs/ReleaseNotes.rst
@@ -51,21 +51,40 @@ Improvements to clangd
Inlay hints
^^^^^^^^^^^
+- Type hints
+ * Improved heuristics for showing sugared vs. desguared types
+ * Some hints which provide no information (e.g. ``<dependent-type>``) are now omitted
+- Parameter hints
+ * Parameter hints are now shown for calls through function pointers
+ * Parameter hints are now shown for calls to a class's ``operator()``
+ * No longer show bogus parameter hints for some builtins like ``__builtin_dump_struct``
+
Diagnostics
^^^^^^^^^^^
-Semantic Highlighting
-^^^^^^^^^^^^^^^^^^^^^
+- Improved quality of include-cleaner diagnostics (missing and unused includes)
Compile flags
^^^^^^^^^^^^^
+- System include extractor (``--query-driver``) improvements
+ * The directory containing builtin headers is now excluded from extracted system includes
+ * Various flags which can affect the system includes (``--target``, ``--stdlib``, ``-specs``) are now forwarded to the driver
+ * Fixed a bug where clangd would sometimes try to call a driver that didn't have obj-c support with ``-x objective-c++-header``
+ * The driver path is now dot-normalized before being compared to the ``--query-driver`` pattern
+ * ``--query-driver`` is now supported by ``clangd-indexer``
+- Fixed a regression in clangd 17 where response files would not be expanded
+
Hover
^^^^^
+- Hover now shows alignment info for fields and records
+
Code completion
^^^^^^^^^^^^^^^
+- Refined heuristics for determining whether the use of a function can be a call or not
+
Code actions
^^^^^^^^^^^^
@@ -75,15 +94,25 @@ Code actions
Signature help
^^^^^^^^^^^^^^
+- Improved support for calls through function pointer types
+
Cross-references
^^^^^^^^^^^^^^^^
+- Improved support for C++20 concepts
+- Find-references now works for labels
+- Improvements to template heuristics
+
Objective-C
^^^^^^^^^^^
Miscellaneous
^^^^^^^^^^^^^
+- Various stability improvements, e.g. crash fixes
+- Improved error recovery on invalid code
+- Clangd now bails gracefully on assembly and IR source files
+
Improvements to clang-doc
-------------------------
More information about the llvm-branch-commits
mailing list