================
@@ -1222,6 +1222,16 @@ static IsTupleLike isTupleLike(Sema &S, SourceLocation
Loc, QualType T,
if (E.isInvalid())
return IsTupleLike::Error;
+ if (Size < 0 || Size >= UINT_MAX) {
+ llvm::SmallVector<char, 16> Str;
+ Size.toString(Str);
----------------
erichkeane wrote:
Ah, hrmph... It seems to me that `StreamingDiagnostic` should have something
that defers to `raw_ostream` but I see we don't have one. That is unfortunate.
https://github.com/llvm/llvm-project/pull/159677
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits