[all-commits] [llvm/llvm-project] 67a2cc: Fix a few mismatched iterator types revealed from ...

David Blaikie via All-commits all-commits at lists.llvm.org
Fri Apr 10 10:13:13 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 67a2cc80b647886284d04621cbd194b4109faddd
      https://github.com/llvm/llvm-project/commit/67a2cc80b647886284d04621cbd194b4109faddd
  Author: David Blaikie <dblaikie at gmail.com>
  Date:   2020-04-10 (Fri, 10 Apr 2020)

  Changed paths:
    M llvm/include/llvm/IR/Attributes.h
    M llvm/include/llvm/Remarks/RemarkLinker.h

  Log Message:
  -----------
  Fix a few mismatched iterator types revealed from a libc++ + LLVM_EXPENSIVE_CHECKS build

These were accidental SCARY iterator uses that weren't guaranteed and in
libc++'s debug checking mode were actually distinct types. Use decltype
to make it easier to keep these things up to date.




More information about the All-commits mailing list