[clang] aa643f4 - Fixup D123950 to address revert of D123345
David Tenty via cfe-commits
cfe-commits at lists.llvm.org
Wed Apr 20 16:59:18 PDT 2022
Author: David Tenty
Date: 2022-04-20T19:59:07-04:00
New Revision: aa643f455a5362de7189eac630050d2c8aefe8f2
URL: https://github.com/llvm/llvm-project/commit/aa643f455a5362de7189eac630050d2c8aefe8f2
DIFF: https://github.com/llvm/llvm-project/commit/aa643f455a5362de7189eac630050d2c8aefe8f2.diff
LOG: Fixup D123950 to address revert of D123345
Since D123345 got reverted Builtin::BIaddressof and Builtin::BI__addressof don't exist and cause build breaks.
Added:
Modified:
clang/lib/CodeGen/CGExpr.cpp
Removed:
################################################################################
diff --git a/clang/lib/CodeGen/CGExpr.cpp b/clang/lib/CodeGen/CGExpr.cpp
index fbe1586001b19..b2947e3927165 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();
More information about the cfe-commits
mailing list