summaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CGExpr.cpp
diff options
context:
space:
mode:
authorDavid Tenty <daltenty@ibm.com>2022-04-20 19:59:07 -0400
committerDavid Tenty <daltenty@ibm.com>2022-04-20 19:59:07 -0400
commitaa643f455a5362de7189eac630050d2c8aefe8f2 (patch)
tree84329a2ccf3a6e5f65a03ed87710d3c0f05dee09 /clang/lib/CodeGen/CGExpr.cpp
parent7d6716786fbe422567c68ffde7b093eeec6cb97c (diff)
Fixup D123950 to address revert of D123345
Since D123345 got reverted Builtin::BIaddressof and Builtin::BI__addressof don't exist and cause build breaks.
Diffstat (limited to 'clang/lib/CodeGen/CGExpr.cpp')
-rw-r--r--clang/lib/CodeGen/CGExpr.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/clang/lib/CodeGen/CGExpr.cpp b/clang/lib/CodeGen/CGExpr.cpp
index fbe1586001b1..b2947e392716 100644
--- a/clang/lib/CodeGen/CGExpr.cpp
+++ b/clang/lib/CodeGen/CGExpr.cpp
@@ -1175,8 +1175,6 @@ Address CodeGenFunction::EmitPointerWithAlignment(const Expr *E,
switch (Call->getBuiltinCallee()) {
default:
break;
- case Builtin::BIaddressof:
- case Builtin::BI__addressof:
case Builtin::BI__builtin_addressof: {
LValue LV = EmitLValue(Call->getArg(0));
if (BaseInfo) *BaseInfo = LV.getBaseInfo();