================
@@ -6908,6 +6908,8 @@ bool Sema::BuiltinAssumeAligned(CallExpr *TheCall) {
Diag(TheCall->getBeginLoc(), diag::warn_assume_aligned_too_great)
<< SecondArg->getSourceRange() << Sema::MaximumAlignment;
+ SecondArg = DefaultLvalueConversion(SecondArg).get();
----------------
tbaederr wrote:
Isn't `DefaultLValueConversion` already the helper for this pattern? Or do you
mean the additional `get()` call?
https://github.com/llvm/llvm-project/pull/230388
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits