[PATCH] D117232: [clang] Respect -Wdeclaration-after-statement with C99 or later
Marco Elver via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Jan 20 07:46:10 PST 2022
melver added a comment.
Looks like https://reviews.llvm.org/D114787 does the same thing and was submitted a week ago.
I'll try to integrate the additional testing you suggested and change this patch to improve the implementation to not do the checking if not required as it doesn't look entirely cheap.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D117232/new/
https://reviews.llvm.org/D117232
More information about the cfe-commits
mailing list