[PATCH] D77394: [Alignment][NFC] Add DebugStr and operator*
Clement Courbet via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Apr 3 07:30:01 PDT 2020
courbet added inline comments.
================
Comment at: llvm/include/llvm/Support/Alignment.h:398
+inline Align operator*(Align Lhs, uint64_t Rhs) {
+ assert(Rhs > 0 && "Rhs must be positive");
----------------
courbet wrote:
> What is the meaning of `Align(1) * 3` ?
My point is, I think what you want is an `operator<<()`
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D77394/new/
https://reviews.llvm.org/D77394
More information about the llvm-commits
mailing list