[PATCH] D116425: [clang-tidy] Improve modernize-redundant-void-arg to recognize macro uses

Richard via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Jan 11 14:19:58 PST 2022


LegalizeAdulthood updated this revision to Diff 399076.
LegalizeAdulthood added a comment.

- clang-format
- use `const IdentifierTable &` to avoid accidental modification
- drop braces from simple block statements as per style guide


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D116425/new/

https://reviews.llvm.org/D116425

Files:
  clang-tools-extra/clang-tidy/modernize/RedundantVoidArgCheck.cpp
  clang-tools-extra/test/clang-tidy/checkers/modernize-redundant-void-arg.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D116425.399076.patch
Type: text/x-patch
Size: 12796 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20220111/65940bb8/attachment.bin>


More information about the cfe-commits mailing list