[PATCH] Fix alignment of trailing block comments.

Daniel Jasper djasper at google.com
Thu Apr 17 08:40:24 PDT 2014


  Two nits, otherwise looks good (assuming the tests pass ;-) ).


================
Comment at: lib/Format/WhitespaceManager.cpp:136
@@ +135,3 @@
+    }
+    Change.IndentationOffset =
+        Change.StartOfBlockComment
----------------
I think this might actually be shorter with if .. else ..

================
Comment at: lib/Format/WhitespaceManager.h:147
@@ +146,3 @@
+
+    const Change *StartOfBlockComment;
+    int IndentationOffset;
----------------
Please add a comment.


http://reviews.llvm.org/D3408

BRANCH
  svn

ARCANIST PROJECT
  clang






More information about the cfe-commits mailing list