[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:00 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");
----------------
What is the meaning of `Align(1) * 3` ?


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