[PATCH] D35278: Support: Add llvm::center_justify.
Rui Ueyama via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Jul 11 16:39:05 PDT 2017
ruiu added inline comments.
================
Comment at: lib/Support/raw_ostream.cpp:347
+ this->operator<<(FS.Str);
+ this->indent(PadAmount + (Difference - (PadAmount * 2)));
+ } break;
----------------
ruiu wrote:
> PadAmount + (Difference - (PadAmount * 2))
>
> is the same as
>
> PadAmount + Difference - PadAmount * 2
>
> and thus
>
> Difference - PadAmount
>
> ?
Isn't this the same as `Difference - PadAmount` as I wrote above?
https://reviews.llvm.org/D35278
More information about the llvm-commits
mailing list