[all-commits] [llvm/llvm-project] 03e9ba: [ObjCARC] Remove unused RetainRVDep dependency kin...

Ahmed Bougacha via All-commits all-commits at lists.llvm.org
Mon Jan 24 19:37:30 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 03e9ba274072a8921d78c678222fb0b43111125b
      https://github.com/llvm/llvm-project/commit/03e9ba274072a8921d78c678222fb0b43111125b
  Author: Ahmed Bougacha <ahmed at bougacha.org>
  Date:   2022-01-24 (Mon, 24 Jan 2022)

  Changed paths:
    M llvm/lib/Transforms/ObjCARC/DependencyAnalysis.cpp
    M llvm/lib/Transforms/ObjCARC/DependencyAnalysis.h

  Log Message:
  -----------
  [ObjCARC] Remove unused RetainRVDep dependency kind. NFC.


  Commit: e7298464c5d004a119583cdb8a120dc3d968508d
      https://github.com/llvm/llvm-project/commit/e7298464c5d004a119583cdb8a120dc3d968508d
  Author: Ahmed Bougacha <ahmed at bougacha.org>
  Date:   2022-01-24 (Mon, 24 Jan 2022)

  Changed paths:
    M llvm/include/llvm/Analysis/ObjCARCInstKind.h
    M llvm/include/llvm/Analysis/ObjCARCUtil.h
    M llvm/lib/Analysis/ObjCARCInstKind.cpp
    M llvm/lib/CodeGen/PreISelIntrinsicLowering.cpp
    M llvm/lib/Transforms/ObjCARC/ARCRuntimeEntryPoints.h
    M llvm/lib/Transforms/ObjCARC/ObjCARCContract.cpp
    M llvm/lib/Transforms/ObjCARC/ObjCARCOpts.cpp
    M llvm/lib/Transforms/Utils/InlineFunction.cpp

  Log Message:
  -----------
  [ObjCARC] Use "UnsafeClaimRV" to refer to unsafeClaim in enums. NFC.

This matches the actual runtime function more closely.
I considered also renaming both RetainRV/UnsafeClaimRV to end with
"ARV", for AutoreleasedReturnValue, but there's less potential
for confusion there.


Compare: https://github.com/llvm/llvm-project/compare/65e7cd13bbc6...e7298464c5d0


More information about the All-commits mailing list