[PATCH] D52135: [Clang-Tidy: modernize] Fix for modernize-redundant-void-arg: complains about variable cast to void
Aaron Ballman via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Sep 17 04:52:45 PDT 2018
aaron.ballman accepted this revision.
aaron.ballman added a comment.
LGTM with the nits corrected (there are still some formatting concerns).
================
Comment at: test/clang-tidy/modernize-redundant-void-arg.cpp:541
+template <typename T1>
+void g_3(void){
+ // CHECK-MESSAGES: :[[@LINE-1]]:10: warning: redundant void argument list in function definition [modernize-redundant-void-arg]
----------------
Formatting here looks off as well -- you should run the patch through clang-format: https://clang.llvm.org/docs/ClangFormat.html#script-for-patch-reformatting
Repository:
rCTE Clang Tools Extra
https://reviews.llvm.org/D52135
More information about the cfe-commits
mailing list