projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7d67167
)
Fixup D123950 to address revert of D123345
author
David Tenty
<daltenty@ibm.com>
Wed, 20 Apr 2022 23:59:07 +0000
(19:59 -0400)
committer
David Tenty
<daltenty@ibm.com>
Wed, 20 Apr 2022 23:59:07 +0000
(19:59 -0400)
Since
D123345
got reverted Builtin::BIaddressof and Builtin::BI__addressof don't exist and cause build breaks.
clang/lib/CodeGen/CGExpr.cpp
patch
|
blob
|
history
diff --git
a/clang/lib/CodeGen/CGExpr.cpp
b/clang/lib/CodeGen/CGExpr.cpp
index fbe1586001b192c3bc06b3e912b9b54e8043445b..b2947e3927165330c182200d70678963b5e955a5 100644
(file)
--- 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();