[all-commits] [llvm/llvm-project] 8e9ffa: [NFC] Cleanup callers of AttributeList::hasAttribu...

aeubanks via All-commits all-commits at lists.llvm.org
Fri Aug 13 12:19:15 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 8e9ffa1dc6988367c8e3d688044859c5aa7cf485
      https://github.com/llvm/llvm-project/commit/8e9ffa1dc6988367c8e3d688044859c5aa7cf485
  Author: Arthur Eubanks <aeubanks at google.com>
  Date:   2021-08-13 (Fri, 13 Aug 2021)

  Changed paths:
    M clang/lib/CodeGen/CodeGenModule.cpp
    M llvm/include/llvm/IR/Attributes.h
    M llvm/lib/IR/AsmWriter.cpp
    M llvm/lib/IR/Verifier.cpp

  Log Message:
  -----------
  [NFC] Cleanup callers of AttributeList::hasAttributes()

AttributeList::hasAttributes() is confusing, use clearer methods like
hasFnAttrs().




More information about the All-commits mailing list