AttrBuilder::merge/remove - use const& for iterator values in for-range loops.
authorSimon Pilgrim <llvm-dev@redking.me.uk>
Tue, 30 Jun 2020 17:03:16 +0000 (18:03 +0100)
committerSimon Pilgrim <llvm-dev@redking.me.uk>
Wed, 1 Jul 2020 11:01:18 +0000 (12:01 +0100)
commit0144f501a63e62771c7e2552334a36c36f3a3686
treecabe1511606bd73cf2958c16b3e00e04d1edf2cf
parent7dc892661edde4eb90229dd5a14f45a1ceb08653
AttrBuilder::merge/remove - use const& for iterator values in for-range loops.

Noticed by clang-tidy performance-for-range-copy warning.
llvm/lib/IR/Attributes.cpp