[PATCH] D19117: [clang-tidy] Update RedundantVoidArgCheck to check for type aliases in addition to typedefs

Clement Courbet via cfe-commits cfe-commits at lists.llvm.org
Thu Apr 14 08:47:39 PDT 2016


courbet marked an inline comment as done.

================
Comment at: clang-tidy/modernize/RedundantVoidArgCheck.cpp:109-110
@@ -107,4 +108,4 @@
     SourceLocation Start = Function->getLocStart();
-    SourceLocation End = Body ? Body->getLocStart().getLocWithOffset(-1) :
-                                Function->getLocEnd();
+    SourceLocation End =
+        Body ? Body->getLocStart().getLocWithOffset(-1) : Function->getLocEnd();
     removeVoidArgumentTokens(Result, SourceRange(Start, End),
----------------
aaron.ballman wrote:
> Is this a drive-by formatting fix from clang-format?
Yes. What's the policy here (I'm a new contributor) ? Should I not touch it ?


http://reviews.llvm.org/D19117





More information about the cfe-commits mailing list