[all-commits] [llvm/llvm-project] 91aff1: [InlineCost] prefer range-for. NFC

Nick Desaulniers via All-commits all-commits at lists.llvm.org
Mon Nov 30 16:08:15 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 91aff1d8bae02fc65970b52895f05d3574cbb481
      https://github.com/llvm/llvm-project/commit/91aff1d8bae02fc65970b52895f05d3574cbb481
  Author: Nick Desaulniers <ndesaulniers at google.com>
  Date:   2020-11-30 (Mon, 30 Nov 2020)

  Changed paths:
    M llvm/lib/Analysis/InlineCost.cpp

  Log Message:
  -----------
  [InlineCost] prefer range-for. NFC

Prefer range-for over iterators when such methods exist. Precommitted
from https://reviews.llvm.org/D91816.

Signed-off-by: Nick Desaulniers <ndesaulniers at google.com>

Reviewed By: dblaikie

Differential Revision: https://reviews.llvm.org/D92350




More information about the All-commits mailing list