[PATCH] D82880: Fix PR35677: UB on __int128_t or __uint128_t template parameters.
Bruno Ricci via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Jul 1 05:22:51 PDT 2020
riccibruno added inline comments.
================
Comment at: clang/lib/AST/StmtPrinter.cpp:1159
+ case BuiltinType::UInt128:
+ OS << "Ui128";
+ break;
----------------
`i128` and `Ui128` are not valid integer literal suffix. The output of `StmtPrinter` is intended to be valid C++. Unfortunately here I think that your only choice is to print the high and low parts separately.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D82880/new/
https://reviews.llvm.org/D82880
More information about the cfe-commits
mailing list