[PATCH] D16058: [clang-format] Fix comment aligning when there are changes within the comment

Manuel Klimek via cfe-commits cfe-commits at lists.llvm.org
Mon Jan 11 08:24:13 PST 2016


klimek accepted this revision.
klimek added a reviewer: klimek.
klimek added a comment.

lg


================
Comment at: lib/Format/WhitespaceManager.h:113
@@ -113,1 +112,3 @@
+           bool ContinuesPPDirective, bool IsStartOfDeclName,
+           bool IsInsideTrailingCommentToken);
 
----------------
Forgot one replacement of the original name.

================
Comment at: lib/Format/WhitespaceManager.h:143
@@ -141,1 +142,3 @@
 
+    // If this change is inside of a token but not at the start of the token.
+    bool IsInsideToken;
----------------
... or starting a new line.


http://reviews.llvm.org/D16058





More information about the cfe-commits mailing list