[PATCH] D18440: Don't use potentially invalidated iterator

Stephan Bergmann via llvm-commits llvm-commits at lists.llvm.org
Thu Mar 31 08:50:25 PDT 2016


sberg added a comment.

Dropped the const.  The type of n is int, so taking by value is fine.  (But guess it's better to stick to auto, in case the value type of FuncletMembership should ever change.)


Repository:
  rL LLVM

http://reviews.llvm.org/D18440





More information about the llvm-commits mailing list