summaryrefslogtreecommitdiffstats
path: root/clang/test
diff options
context:
space:
mode:
authorDavid Blaikie <dblaikie@gmail.com>2012-10-18 16:57:32 +0000
committerDavid Blaikie <dblaikie@gmail.com>2012-10-18 16:57:32 +0000
commit12be639dfcc17a10957f79b0e650ec7455cf50f6 (patch)
treecaddbf225fd10a266a95b52eef4c1c2b877e0f7a /clang/test
parenta0ca6601bc814e4b248eb473e7cfcd91844ccee2 (diff)
downloadbcm5719-llvm-12be639dfcc17a10957f79b0e650ec7455cf50f6.tar.gz
bcm5719-llvm-12be639dfcc17a10957f79b0e650ec7455cf50f6.zip
PR14021: Copy lookup results to ensure safe iteration.
Within the body of the loop the underlying map may be modified via Sema::AddOverloadCandidate -> Sema::CompareReferenceRelationship -> Sema::RequireCompleteType to avoid the use of invalid iterators the sequence is copied first. A reliable, though large, test case is available - it will be reduced and committed shortly. Patch by Robert Muth. Review by myself, Nico Weber, and Rafael Espindola. llvm-svn: 166188
Diffstat (limited to 'clang/test')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud