commit | 9ce12e36abf44b6373b88610f3c73fbbbdee9b36 | [log] [tgz] |
---|---|---|
author | Richard Smith <richard-llvm@metafoo.co.uk> | Thu Feb 07 03:30:24 2013 +0000 |
committer | Richard Smith <richard-llvm@metafoo.co.uk> | Thu Feb 07 03:30:24 2013 +0000 |
tree | 252cae5664a20d1ce68c51dc63bf82c4d0dd5ce2 | |
parent | c121b9b796e40f2eec2aabebb4dfcabe2f21537f [diff] |
Simplify FindExternalVisibleDeclsByName by making it return a bool indicating if it found any decls, rather than returning a list of found decls. This removes a returning-ArrayRef-to-deleted-storage bug from MultiplexExternalSemaSource (in code not exercised by any of the clang binaries), reduces the work required in the found-no-decls case with PCH, and importantly removes the need for DeclContext::lookup to be reentrant. No functionality change intended! llvm-svn: 174576