[PATCH] D120770: [C2x] Implement literal suffixes for _BitInt

Aaron Ballman via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Mar 2 12:29:48 PST 2022


aaron.ballman added inline comments.


================
Comment at: clang/lib/AST/StmtPrinter.cpp:1156
 
+  if (const auto *BT = Node->getType()->getAs<BitIntType>()) {
+    OS << (isSigned ? "wb" : "uwb");
----------------
erichkeane wrote:
> You don't need BT here anymore (sorry for missing that!).
No worries, I should have caught that as well. I've corrected it.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D120770/new/

https://reviews.llvm.org/D120770



More information about the llvm-commits mailing list