[all-commits] [llvm/llvm-project] 0d7fbb: [AttrBuilder] Remove unused removeAttributes() ove...

Nikita Popov via All-commits all-commits at lists.llvm.org
Sun Jan 16 12:33:52 PST 2022


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

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

  Log Message:
  -----------
  [AttrBuilder] Remove unused removeAttributes() overload

The idiomatic way would be to call remove() with an AttributeMask
constructed from an AttributeSet.




More information about the All-commits mailing list