Commits
Argyrios Kyrtzidis committed b11d990818b
Avoid APIs that return a new ASTContext-allocated array every time you call them. Have them fill out a vector provided by the caller instead. It is very easy to have callers just go through the array, thus wasting memory, as the clang importer ended up doing. The caller should be the one deciding if the array must be copied in ASTContext or not. Swift SVN r23472