commit | 8682b93b3491facc9a42eb87b78bb9d8c18a0739 | [log] [tgz] |
---|---|---|
author | Argyrios Kyrtzidis <akyrtzi@gmail.com> | Tue Nov 13 05:07:23 2012 +0000 |
committer | Argyrios Kyrtzidis <akyrtzi@gmail.com> | Tue Nov 13 05:07:23 2012 +0000 |
tree | 2510346bd1133da1a698e10c9b829bd897e19357 | |
parent | cbf5f60996fa2bd0ecd779b1472dc5cbad3ca464 [diff] |
Copy the decls returned by DeclContext::lookup_result to a new container so we can safely iterate over them. The container holding the lookup decls can under certain conditions be changed while iterating (e.g. because of deserialization). git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@167816 91177308-0d34-0410-b5e6-96231b3b80d8