-
Notifications
You must be signed in to change notification settings - Fork 13.4k
[clangd] Add clangd 19 release notes #105975
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
@llvm/pr-subscribers-clang-tools-extra Author: Nathan Ridge (HighCommander4) ChangesFull diff: https://github.com/llvm/llvm-project/pull/105975.diff 1 Files Affected:
diff --git a/clang-tools-extra/docs/ReleaseNotes.rst b/clang-tools-extra/docs/ReleaseNotes.rst
index 71461968629868..ebcdeca8c2ee50 100644
--- a/clang-tools-extra/docs/ReleaseNotes.rst
+++ b/clang-tools-extra/docs/ReleaseNotes.rst
@@ -61,6 +61,8 @@ Diagnostics
Semantic Highlighting
^^^^^^^^^^^^^^^^^^^^^
+- Improved semantic token coverage in some edge cases, e.g. IndirectFieldDecl
+
Compile flags
^^^^^^^^^^^^^
@@ -70,24 +72,57 @@ Hover
Code completion
^^^^^^^^^^^^^^^
+- ``--function-arg-placeholders=0`` is now respected for variable template argument lists
+ as well
+- Macro proposals now use the completion item kind ``Constant`` (for object-like macros)
+ or ``Function`` (for function-style macros) even for proposals coming from the index
+
Code actions
^^^^^^^^^^^^
+- The "extract variable" tweak is no longer offered for the initializer expression of a
+ declaration
- The tweak for turning unscoped into scoped enums now removes redundant prefixes
from the enum values.
+- Support "move function body out-of-line" in non-header files as well
Signature help
^^^^^^^^^^^^^^
+- Signature help now shows function argument names for calls through pointers to
+ functions in struct fields
+
Cross-references
^^^^^^^^^^^^^^^^
+- Improve go-to-definition for some concept references
+
+Document outline
+^^^^^^^^^^^^^^^^
+
+- Improved precision of document outline information for symbols whose definitions
+ involve macro expansions
+
+Clang-tidy integration
+^^^^^^^^^^^^^^^^^^^^^^
+
+- The quick fix for clang-tidy's ``readability-identifier-naming`` diagnostic is now
+ hooked to invoke ``textDocument/rename``, renaming the identifier across the whole
+ project rather than just the translation unit of the diagnostic
+- ``misc-const-correctness`` can now be enabled with ``FastCheckFilter: None``
+ (previously clangd would force it off unconditionally due to its run time)
+
Objective-C
^^^^^^^^^^^
+- Added support for renaming Objective-C methods
+
Miscellaneous
^^^^^^^^^^^^^
+- Worked around a clang-format bug that caused memory exhaustion when opening some large
+ ``.h`` files due to the formatter's language guessing heuristic (#GH85703)
+- Various other stability improvements, e.g. crash fixes
- Added a boolean option `AnalyzeAngledIncludes` to `Includes` config section,
which allows to enable unused includes detection for all angled ("system") headers.
At this moment umbrella headers are not supported, so enabling this option
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks. I’ll leave the final approval to @kadircet.
Should we mention the module support, even though it’s still in the initial stages?
It is already mentioned. (It was added to the release notes as part of the same commit as the implementation.) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thanks a lot for doing this @HighCommander4!
Thanks for the review. @tstellar could you merge these release notes for us please? |
210ac24
to
53c43ba
Compare
@HighCommander4 (or anyone else). If you would like to add a note about this fix in the release notes (completely optional). Please reply to this comment with a one or two sentence description of the fix. When you are done, please add the release:note label to this PR. |
No description provided.