[PATCH] D117232: [clang] Improve -Wdeclaration-after-statement
Aaron Ballman via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Jan 20 09:27:54 PST 2022
aaron.ballman accepted this revision.
aaron.ballman added a comment.
This revision is now accepted and ready to land.
LGTM aside from a small nit with the release notes.
Comment at: clang/docs/ReleaseNotes.rst:61
+- Support -Wdeclaration-after-statement with C99 and later standards, and not
+ just C89, matching GCC's behaviour. A notable usecase is supporting style
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
More information about the cfe-commits