r297263 - [clang-format] Fix parameter name comment; NFC

Krasimir Georgiev via cfe-commits cfe-commits at lists.llvm.org
Wed Mar 8 01:02:39 PST 2017


Author: krasimir
Date: Wed Mar  8 03:02:39 2017
New Revision: 297263

URL: http://llvm.org/viewvc/llvm-project?rev=297263&view=rev
Log:
[clang-format] Fix parameter name comment; NFC

Modified:
    cfe/trunk/lib/Format/UnwrappedLineFormatter.cpp

Modified: cfe/trunk/lib/Format/UnwrappedLineFormatter.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Format/UnwrappedLineFormatter.cpp?rev=297263&r1=297262&r2=297263&view=diff
==============================================================================
--- cfe/trunk/lib/Format/UnwrappedLineFormatter.cpp (original)
+++ cfe/trunk/lib/Format/UnwrappedLineFormatter.cpp Wed Mar  8 03:02:39 2017
@@ -908,7 +908,7 @@ void UnwrappedLineFormatter::formatFirst
   if (RootToken.is(tok::eof)) {
     unsigned Newlines = std::min(RootToken.NewlinesBefore, 1u);
     Whitespaces->replaceWhitespace(RootToken, Newlines, /*Spaces=*/0,
-                                   /*TargetColumn=*/0);
+                                   /*StartOfTokenColumn=*/0);
     return;
   }
   unsigned Newlines =




More information about the cfe-commits mailing list