[clang] [BitInt] Expose a _BitInt literal suffix in C++ (PR #86586)
Erich Keane via cfe-commits
cfe-commits at lists.llvm.org
Mon Apr 1 13:30:38 PDT 2024
================
@@ -80,7 +80,8 @@ class NumericLiteralParser {
bool isFloat128 : 1; // 1.0q
bool isFract : 1; // 1.0hr/r/lr/uhr/ur/ulr
bool isAccum : 1; // 1.0hk/k/lk/uhk/uk/ulk
- bool isBitInt : 1; // 1wb, 1uwb (C23)
+ bool isBitInt : 1; // 1wb, 1uwb (C23) or 1__wb, 1__uwb (Clang extension in C++
----------------
erichkeane wrote:
please make the comments line up with the above, I know clang-format disagrees (and requires manual modification), but this makes a lot of sense with the way it is lined up.
https://github.com/llvm/llvm-project/pull/86586
More information about the cfe-commits
mailing list