[all-commits] [llvm/llvm-project] 5d6c5b: [LoopUtils] Use llvm::find

whitneywhtsang via All-commits all-commits at lists.llvm.org
Mon May 25 06:35:26 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 5d6c5b463cab7aeb74b20f51af88ba1d1658f8a8
      https://github.com/llvm/llvm-project/commit/5d6c5b463cab7aeb74b20f51af88ba1d1658f8a8
  Author: Whitney Tsang <whitneyt at ca.ibm.com>
  Date:   2020-05-25 (Mon, 25 May 2020)

  Changed paths:
    M llvm/lib/Transforms/Utils/LoopUtils.cpp

  Log Message:
  -----------
  [LoopUtils] Use llvm::find

Summary: Fixes this build error:

llvm/lib/Transforms/Utils/LoopUtils.cpp:679:26: error: no matching
function for call to 'find'
      Loop::iterator I = find(ParentLoop->begin(), ParentLoop->end(),
L);
                         ^~~~
Authored By: orivej
Reviewer: Whitney
Reviewed By: Whitney
Subscribers: hiraditya, llvm-commits
Tag: LLVM
Differential Revision: https://reviews.llvm.org/D80473




More information about the All-commits mailing list