RedundantVoidArgCheck will now warn on:
using f_t = int (*(void))(void);
too.
(Depends on http://reviews.llvm.org/D19113)
Paths
| Differential D19117
[clang-tidy] Update RedundantVoidArgCheck to check for type aliases in addition to typedefs ClosedPublic Authored by courbet on Apr 14 2016, 8:22 AM.
Details
Summary RedundantVoidArgCheck will now warn on: using f_t = int (*(void))(void); too. (Depends on http://reviews.llvm.org/D19113)
Diff Detail Event Timelineaaron.ballman added inline comments. aaron.ballman added a parent revision: D19113: [ASTMatchers] Upgrading typedef matching to c++11.Apr 14 2016, 8:33 AM aaron.ballman edited edge metadata. aaron.ballman edited edge metadata. Comment ActionsLGTM, thank you for working on this! I can submit the patch on your behalf if you would like.
This revision is now accepted and ready to land.Apr 14 2016, 9:08 AM Comment Actions Thanks for the review !
That'd be great, thank you.
Revision Contents
Diff 53726 clang-tidy/modernize/RedundantVoidArgCheck.h
clang-tidy/modernize/RedundantVoidArgCheck.cpp
test/clang-tidy/modernize-redundant-void-arg.cpp
|
Is this a drive-by formatting fix from clang-format?