aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenFunction.h
diff options
context:
space:
mode:
authorNikita Popov <npopov@redhat.com>2022-03-23 10:22:14 +0100
committerNikita Popov <npopov@redhat.com>2022-03-23 10:24:39 +0100
commit27f6cee12d2ab52e44e78d26733ab92ced730f13 (patch)
tree0e5702232a4bf01374c23e331b611a56f3feffa2 /clang/lib/CodeGen/CodeGenFunction.h
parent09c0685a043dd4028545c134b562c2605e294855 (diff)
downloadllvm-27f6cee12d2ab52e44e78d26733ab92ced730f13.zip
llvm-27f6cee12d2ab52e44e78d26733ab92ced730f13.tar.gz
llvm-27f6cee12d2ab52e44e78d26733ab92ced730f13.tar.bz2
Revert "[CodeGen] Avoid deprecated Address ctor in EmitLoadOfPointer()"
This reverts commit 767ec883e37510a247ea5695921876ef67cf5b3f. This results in a some incorrect alignments which are not covered by existing tests.
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.h')
-rw-r--r--clang/lib/CodeGen/CodeGenFunction.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/clang/lib/CodeGen/CodeGenFunction.h b/clang/lib/CodeGen/CodeGenFunction.h
index bda44733..24000b9 100644
--- a/clang/lib/CodeGen/CodeGenFunction.h
+++ b/clang/lib/CodeGen/CodeGenFunction.h
@@ -2527,9 +2527,6 @@ public:
return EmitLoadOfReferenceLValue(RefLVal);
}
- /// Load a pointer with type \p PtrTy stored at address \p Ptr.
- /// Note that \p PtrTy is the type of the loaded pointer, not the addresses
- /// it is loaded from.
Address EmitLoadOfPointer(Address Ptr, const PointerType *PtrTy,
LValueBaseInfo *BaseInfo = nullptr,
TBAAAccessInfo *TBAAInfo = nullptr);