[all-commits] [llvm/llvm-project] 645903: [AttrBuilder] Remove non-const td_attrs()

Nikita Popov via All-commits all-commits at lists.llvm.org
Sat Jan 15 09:13:23 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 64590312d4b84e13345a98b9d7d7bbc4e2b0c166
      https://github.com/llvm/llvm-project/commit/64590312d4b84e13345a98b9d7d7bbc4e2b0c166
  Author: Nikita Popov <nikita.ppv at gmail.com>
  Date:   2022-01-15 (Sat, 15 Jan 2022)

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

  Log Message:
  -----------
  [AttrBuilder] Remove non-const td_attrs()

Mutations should happen through appropriate APIs that uphold the
sorting invariant. Exposing a mutable iterator is not necessary.




More information about the All-commits mailing list