aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Support/StringMap.cpp
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@intel.com>2018-06-09 00:30:45 +0000
committerCraig Topper <craig.topper@intel.com>2018-06-09 00:30:45 +0000
commit7c89d046ea6e3d4c2042710bddcdc9452a6ec0c0 (patch)
treeb66f1d343b195e0a0d610c5dba2a23d3a56753c7 /llvm/lib/Support/StringMap.cpp
parent643600566dcecfd9095d868c0f2aa030828faf7c (diff)
downloadllvm-7c89d046ea6e3d4c2042710bddcdc9452a6ec0c0.zip
llvm-7c89d046ea6e3d4c2042710bddcdc9452a6ec0c0.tar.gz
llvm-7c89d046ea6e3d4c2042710bddcdc9452a6ec0c0.tar.bz2
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. llvm-svn: 334339
Diffstat (limited to 'llvm/lib/Support/StringMap.cpp')
0 files changed, 0 insertions, 0 deletions