[PATCH] D120770: [C2x] Implement literal suffixes for _BitInt
    Erich Keane via Phabricator via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Wed Mar  2 12:25:27 PST 2022
    
    
  
erichkeane added inline comments.
================
Comment at: clang/lib/AST/StmtPrinter.cpp:1156
 
+  if (const auto *BT = Node->getType()->getAs<BitIntType>()) {
+    OS << (isSigned ? "wb" : "uwb");
----------------
You don't need BT here anymore (sorry for missing that!).
CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D120770/new/
https://reviews.llvm.org/D120770
    
    
More information about the llvm-commits
mailing list