Fixup D123950 to address revert of D123345

Since D123345 got reverted Builtin::BIaddressof and Builtin::BI__addressof don't exist and cause build breaks.
This commit is contained in:
David Tenty 2022-04-20 19:59:07 -04:00
parent 7d6716786f
commit aa643f455a
1 changed files with 0 additions and 2 deletions

View File

@ -1175,8 +1175,6 @@ Address CodeGenFunction::EmitPointerWithAlignment(const Expr *E,
switch (Call->getBuiltinCallee()) { switch (Call->getBuiltinCallee()) {
default: default:
break; break;
case Builtin::BIaddressof:
case Builtin::BI__addressof:
case Builtin::BI__builtin_addressof: { case Builtin::BI__builtin_addressof: {
LValue LV = EmitLValue(Call->getArg(0)); LValue LV = EmitLValue(Call->getArg(0));
if (BaseInfo) *BaseInfo = LV.getBaseInfo(); if (BaseInfo) *BaseInfo = LV.getBaseInfo();