]> granicus.if.org Git - clang/commit
[ASTMatchers] Don't create a copy of a std::set when iterating over it.
authorBenjamin Kramer <benny.kra@googlemail.com>
Tue, 10 Oct 2017 07:21:34 +0000 (07:21 +0000)
committerBenjamin Kramer <benny.kra@googlemail.com>
Tue, 10 Oct 2017 07:21:34 +0000 (07:21 +0000)
commitd89b5f87c94eef6e83389be238f3473f51649c30
tree92b4694fb0bf50530904eb045ac539a8a81b6dbd
parent1c1f51cab8a09f9216bfa51aaca373d35af9393c
[ASTMatchers] Don't create a copy of a std::set when iterating over it.

This is a bit awkward because lookup returns a copy instead of a
reference. No functionality change intended.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@315276 91177308-0d34-0410-b5e6-96231b3b80d8
lib/ASTMatchers/ASTMatchFinder.cpp