[llvm] 2ea5aa1 - [IR] Deprecate opaque pointer compatibility APIs
Roman Divacky via llvm-commits
llvm-commits at lists.llvm.org
Wed Jul 19 08:19:59 PDT 2023
On Wed, Jul 19, 2023 at 01:21:18AM -0700, Nikita Popov via llvm-commits wrote:
>
> Author: Nikita Popov
> Date: 2023-07-19T10:21:10+02:00
> New Revision: 2ea5aa1c96cfb15ece9a665f0d59d6c9fa1365f0
>
> URL: https://github.com/llvm/llvm-project/commit/2ea5aa1c96cfb15ece9a665f0d59d6c9fa1365f0
> DIFF: https://github.com/llvm/llvm-project/commit/2ea5aa1c96cfb15ece9a665f0d59d6c9fa1365f0.diff
>
> LOG: [IR] Deprecate opaque pointer compatibility APIs
>
> This deprecates various compatibility APIs that have been
> introduced as part of the opaque pointer migration.
>
> These will be removed at some point after the LLVM 17 release.
>
> Differential Revision: https://reviews.llvm.org/D155585
>
> Added:
>
>
> Modified:
> llvm/include/llvm/IR/DerivedTypes.h
> llvm/include/llvm/IR/LLVMContext.h
> llvm/include/llvm/IR/Type.h
> llvm/lib/IR/Type.cpp
> llvm/unittests/AsmParser/AsmParserTest.cpp
>
> Removed:
>
>
>
> ################################################################################
> diff --git a/llvm/include/llvm/IR/DerivedTypes.h b/llvm/include/llvm/IR/DerivedTypes.h
> index 4f8c9e65ff9347..f98dcc62650047 100644
> --- a/llvm/include/llvm/IR/DerivedTypes.h
> +++ b/llvm/include/llvm/IR/DerivedTypes.h
> @@ -644,8 +644,6 @@ class PointerType : public Type {
> explicit PointerType(Type *ElType, unsigned AddrSpace);
I think you removed the definition of the constructor above while keeping the
declaration. Was it intended?
Thanks, Roman
More information about the llvm-commits
mailing list