[all-commits] [llvm/llvm-project] d593cf: [IR] Remove deprecated PointerType::getElementType()

Nikita Popov via All-commits all-commits at lists.llvm.org
Mon Feb 14 00:08:07 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d593cf79458a59d37e75c886a4fc3ac6a02b484d
      https://github.com/llvm/llvm-project/commit/d593cf79458a59d37e75c886a4fc3ac6a02b484d
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2022-02-14 (Mon, 14 Feb 2022)

  Changed paths:
    M llvm/include/llvm/IR/DerivedTypes.h

  Log Message:
  -----------
  [IR] Remove deprecated PointerType::getElementType()

This was deprecated before the LLVM 14 branch cut, remove the
method now.

As a temporary workaround, Type::getPointerElementType() can be
used instead.

See https://llvm.org/docs/OpaquePointers.html for information on
the opaque pointers migration.




More information about the All-commits mailing list