diff options
author | Nikita Popov <npopov@redhat.com> | 2022-03-23 10:22:14 +0100 |
---|---|---|
committer | Nikita Popov <npopov@redhat.com> | 2022-03-23 10:24:39 +0100 |
commit | 27f6cee12d2ab52e44e78d26733ab92ced730f13 (patch) | |
tree | 0e5702232a4bf01374c23e331b611a56f3feffa2 /clang/lib/CodeGen/CodeGenFunction.h | |
parent | 09c0685a043dd4028545c134b562c2605e294855 (diff) | |
download | llvm-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.h | 3 |
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); |