[all-commits] [llvm/llvm-project] 7cbbef: [AttrBuilder] Remove unused hasAttributes() overload

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


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7cbbef5bbc35edb1324408deb418516fb9fadcf4
      https://github.com/llvm/llvm-project/commit/7cbbef5bbc35edb1324408deb418516fb9fadcf4
  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 hasAttributes() overload

This is unused, and doesn't make a lot of sense as an API. The
usual pattern would be to combine the AttrBuilder(AttributeSet)
constructor with the overlaps() method.




More information about the All-commits mailing list