[all-commits] [llvm/llvm-project] a7b4ce: [NFC][AttributeList] Replace index_begin/end with ...

aeubanks via All-commits all-commits at lists.llvm.org
Fri Oct 1 10:20:47 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a7b4ce9cfd110db56d89fa8d76b39023d038de11
      https://github.com/llvm/llvm-project/commit/a7b4ce9cfd110db56d89fa8d76b39023d038de11
  Author: Arthur Eubanks <aeubanks at google.com>
  Date:   2021-10-01 (Fri, 01 Oct 2021)

  Changed paths:
    M lldb/source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/RenderScriptx86ABIFixups.cpp
    M llvm/include/llvm/IR/Attributes.h
    M llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
    M llvm/lib/Bitcode/Writer/ValueEnumerator.cpp
    M llvm/lib/IR/Attributes.cpp
    M llvm/lib/Transforms/Utils/FunctionComparator.cpp
    M llvm/tools/llvm-reduce/deltas/ReduceAttributes.cpp

  Log Message:
  -----------
  [NFC][AttributeList] Replace index_begin/end with an iterator

We expose the fact that we rely on unsigned wrapping to iterate through
all indexes. This can be confusing. Rather, keeping it as an
implementation detail through an iterator is less confusing and is less
code.

Reviewed By: rnk

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




More information about the All-commits mailing list