[PATCH] D119094: [clang] Don't emit redundant warnings for 'return;'
Arthur O'Dwyer via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Feb 7 08:04:48 PST 2022
Quuxplusone planned changes to this revision.
Quuxplusone added a comment.
Unfortunately some existing tests fail: https://reviews.llvm.org/harbormaster/unit/view/2282838/
I haven't yet figured out why consteval functions are considered to have `FD->isInvalidDecl()`. There's also an Objective-C failure that I assume indicates sometimes (when this is a //method// not a //function//) we have no `FD` at all. I'd need to solve both of these problems (the former being the difficult one) before I can make progress here.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D119094/new/
https://reviews.llvm.org/D119094
More information about the cfe-commits
mailing list