Skip to content

Commit aa643f4

Browse files
committed
Fixup D123950 to address revert of D123345
Since D123345 got reverted Builtin::BIaddressof and Builtin::BI__addressof don't exist and cause build breaks.
1 parent 7d67167 commit aa643f4

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

clang/lib/CodeGen/CGExpr.cpp

-2
Original file line numberDiff line numberDiff line change
@@ -1175,8 +1175,6 @@ Address CodeGenFunction::EmitPointerWithAlignment(const Expr *E,
11751175
switch (Call->getBuiltinCallee()) {
11761176
default:
11771177
break;
1178-
case Builtin::BIaddressof:
1179-
case Builtin::BI__addressof:
11801178
case Builtin::BI__builtin_addressof: {
11811179
LValue LV = EmitLValue(Call->getArg(0));
11821180
if (BaseInfo) *BaseInfo = LV.getBaseInfo();

0 commit comments

Comments
 (0)