[clang] Correctly diagnose incomplete arrays with static storage in C (PR #134374)
Mariya Podchishchaeva via cfe-commits
cfe-commits at lists.llvm.org
Fri Apr 4 07:12:31 PDT 2025
================
@@ -319,6 +319,9 @@ Improvements to Clang's diagnostics
- ``-Wc++98-compat`` no longer diagnoses use of ``__auto_type`` or
``decltype(auto)`` as though it was the extension for ``auto``. (#GH47900)
+- Now correctly diagnose use of a tentative definition of an array with static
----------------
Fznamznon wrote:
Looking at the tests I don't think they have to be used to trigger the warning
```suggestion
- Now correctly diagnose a tentative definition of an array with static
```
https://github.com/llvm/llvm-project/pull/134374
More information about the cfe-commits
mailing list