[clang-tools-extra] [clang-tidy] Fix `bugprone-sizeof-expression` crash on arrays of dependent type (PR #159701)
James Dennett via cfe-commits
cfe-commits at lists.llvm.org
Fri Sep 19 01:16:12 PDT 2025
================
@@ -231,6 +231,10 @@ Changes in existing checks
<clang-tidy/checks/bugprone/signed-char-misuse>` check by fixing
false positives on C23 enums with the fixed underlying type of signed char.
+- Improved :doc:`bugprone-sizeof-expression
+ <clang-tidy/checks/bugprone/sizeof-expression>` check by fixing
+ a crash on ``sizeof`` of an array of template type.
----------------
sfc-gh-jdennett wrote:
An optional wording tweak:
```suggestion
a crash on ``sizeof`` of an array of dependent type.
```
https://github.com/llvm/llvm-project/pull/159701
More information about the cfe-commits
mailing list