================
@@ -4091,7 +4091,7 @@ ExprResult Sema::ActOnNumericConstant(const Token &Tok,
Scope *UDLScope) {
!Context.getTargetInfo().hasInt128Type())
PP.Diag(Tok.getLocation(), diag::err_integer_literal_too_large)
<< Literal.isUnsigned;
- BitsNeeded = Literal.MicrosoftInteger;
+ BitsNeeded = std::max<unsigned>(BitsNeeded, Literal.MicrosoftInteger);
----------------
TPPPP72 wrote:
Yes, so I've already opened an issue to track. See #212731. But unrelated to
this PR.
https://github.com/llvm/llvm-project/pull/212743
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits