[PATCH] D40813: [clang-tidy] Adding Fuchsia checker for virtual inheritance

Eugene Zelenko via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Dec 4 18:34:06 PST 2017


Eugene.Zelenko added inline comments.


================
Comment at: test/clang-tidy/fuchsia-virtual-inheritance.cpp:42
+
+int main(void) {
+  A *a = new A(0);
----------------
void is redundant in C++. See modernize-redundant-void-arg.


https://reviews.llvm.org/D40813





More information about the cfe-commits mailing list