[all-commits] [llvm/llvm-project] c3b624: [CodeGen] Avoid deprecated ConstantAddress constru...
Nikita Popov via All-commits
all-commits at lists.llvm.org
Wed Dec 15 01:42:58 PST 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: c3b624a191e09f1f16ce32f35b59fc4ca22ec780
https://github.com/llvm/llvm-project/commit/c3b624a191e09f1f16ce32f35b59fc4ca22ec780
Author: Nikita Popov <npopov at redhat.com>
Date: 2021-12-15 (Wed, 15 Dec 2021)
Changed paths:
M clang/lib/CodeGen/Address.h
M clang/lib/CodeGen/CGDeclCXX.cpp
M clang/lib/CodeGen/CGExprConstant.cpp
M clang/lib/CodeGen/CGObjCGNU.cpp
M clang/lib/CodeGen/CGObjCMac.cpp
M clang/lib/CodeGen/CodeGenModule.cpp
M clang/lib/CodeGen/ItaniumCXXABI.cpp
M clang/lib/CodeGen/MicrosoftCXXABI.cpp
Log Message:
-----------
[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.
More information about the All-commits
mailing list