mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
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
20 KiB
20 KiB