[PATCH] D52135: [Clang-Tidy: modernize] Fix for modernize-redundant-void-arg: complains about variable cast to void
Jonas Toth via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Sep 17 04:44:34 PDT 2018
JonasToth added inline comments.
================
Comment at: test/clang-tidy/modernize-redundant-void-arg.cpp:495
+ void g_1(void) const {
+ // CHECK-MESSAGES: :[[@LINE-1]]:11: warning: redundant void argument list in
+ // function definition [modernize-redundant-void-arg]
----------------
Nit: please put that diagnostic on one line, even if its longer then the normal column limit.
Repository:
rCTE Clang Tools Extra
https://reviews.llvm.org/D52135
More information about the cfe-commits
mailing list