[llvm-branch-commits] [clang-tools-extra] release/19.x: [clang-tidy] Fix crash in C language in readability-non-const-parameter (#100461) (PR #101878)
Piotr Zegar via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Thu Aug 8 01:03:56 PDT 2024
PiotrZSL wrote:
```
--- a/clang-tools-extra/docs/ReleaseNotes.rst
+++ b/clang-tools-extra/docs/ReleaseNotes.rst
@@ -496,6 +496,10 @@ Changes in existing checks
``static_cast``. Fixed false positives in C++20 spaceship operator by ignoring
casts in implicit and defaulted functions.
+- Improved :doc:`readability-non-const-parameter
+ <clang-tidy/checks/readability/non-const-parameter>` check to not crash when
+ redeclaration have fewer parameters than expected.
+
- Improved :doc:`readability-redundant-inline-specifier
<clang-tidy/checks/readability/redundant-inline-specifier>` check to properly
emit warnings for static data member with an in-class initializer.
```
https://github.com/llvm/llvm-project/pull/101878
More information about the llvm-branch-commits
mailing list