This revision was automatically updated to reflect the committed changes.
Closed by commit rL304912: [clang-format] Fix alignment of preprocessor
trailing comments (authored by krasimir).
Changed prior to commit:
https://reviews.llvm.org/D33982?vs=101734&id=101736#toc
Repository:
rL LLVM
ht
krasimir updated this revision to Diff 101734.
krasimir added a comment.
- Address review comments
https://reviews.llvm.org/D33982
Files:
lib/Format/WhitespaceManager.cpp
unittests/Format/FormatTestComments.cpp
Index: unittests/Format/FormatTestComments.cpp
===
alexfh accepted this revision.
alexfh added a comment.
This revision is now accepted and ready to land.
LG
Comment at: lib/Format/WhitespaceManager.cpp:112
+assert(PreviousOriginalWhitespaceEndOffset <=
OriginalWhitespaceStartOffset);
+StringRef Text(SourceMgr.getChara