diff options
author | Nikita Popov <npopov@redhat.com> | 2021-12-15 09:38:48 +0100 |
---|---|---|
committer | Nikita Popov <npopov@redhat.com> | 2021-12-15 10:42:41 +0100 |
commit | c3b624a191e09f1f16ce32f35b59fc4ca22ec780 (patch) | |
tree | 8083df5fca3178490f7c6b3886d915a789da9bbe /llvm/unittests/Frontend/OpenMPIRBuilderTest.cpp | |
parent | a5927737daeb1d1a6e954fbac16f4d570c3d7496 (diff) | |
download | llvm-c3b624a191e09f1f16ce32f35b59fc4ca22ec780.zip llvm-c3b624a191e09f1f16ce32f35b59fc4ca22ec780.tar.gz llvm-c3b624a191e09f1f16ce32f35b59fc4ca22ec780.tar.bz2 |
[CodeGen] Avoid deprecated ConstantAddress constructor
Change all uses of the deprecated constructor to pass the
element type explicitly and drop it.
For cases where the correct element type was not immediately
obvious to me or would require a slightly larger change I'm
falling back to explicitly calling getPointerElementType() for now.
Diffstat (limited to 'llvm/unittests/Frontend/OpenMPIRBuilderTest.cpp')
0 files changed, 0 insertions, 0 deletions