commit | 74eba10280c0bbd74b60ffe4c29397c4ab6ba326 | [log] [tgz] |
---|---|---|
author | Craig Topper <craig.topper@intel.com> | Sat Jun 09 05:04:20 2018 +0000 |
committer | Craig Topper <craig.topper@intel.com> | Sat Jun 09 05:04:20 2018 +0000 |
tree | 7e68b8c4a4e39f6c2468fb52b47354fe2ff75079 | |
parent | f5137255b64252669f1917eda9d5b7ee648f6be4 [diff] |
Use SmallPtrSet instead of SmallSet in places where we iterate over the set. SmallSet forwards to SmallPtrSet for pointer types. SmallPtrSet supports iteration, but a normal SmallSet doesn't. So if it wasn't for the forwarding, this wouldn't work. These places were found by hiding the begin/end methods in the SmallSet forwarding git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@334343 91177308-0d34-0410-b5e6-96231b3b80d8