[all-commits] [llvm/llvm-project] cd88a0: [Attributes] Use single method to fetch type from ...

Nikita Popov via All-commits all-commits at lists.llvm.org
Wed Jul 14 12:11:16 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: cd88a01cb8e90b5eae9f8bde82ff362b222a61c4
      https://github.com/llvm/llvm-project/commit/cd88a01cb8e90b5eae9f8bde82ff362b222a61c4
  Author: Nikita Popov <nikita.ppv at gmail.com>
  Date:   2021-07-14 (Wed, 14 Jul 2021)

  Changed paths:
    M llvm/lib/IR/AttributeImpl.h
    M llvm/lib/IR/Attributes.cpp

  Log Message:
  -----------
  [Attributes] Use single method to fetch type from AttributeSet (NFC)

While it is nice to have separate methods in the public AttributeSet
API, we can fetch the type from the internal AttributeSetNode
using a generic API for all type attribute kinds.




More information about the All-commits mailing list