mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
[lldb-moduleimport-test] Address Jordan's post commit review comments.
This commit is contained in:
@@ -63,7 +63,7 @@ static void printValidationInfo(llvm::StringRef data) {
|
||||
}
|
||||
|
||||
static void resolveTypeFromMangledNameList(
|
||||
swift::ASTContext &Ctx, llvm::SmallVector<std::string, 8> &MangledNames) {
|
||||
swift::ASTContext &Ctx, llvm::ArrayRef<std::string> MangledNames) {
|
||||
std::string Error;
|
||||
for (auto &Mangled : MangledNames) {
|
||||
swift::Type ResolvedType =
|
||||
@@ -78,8 +78,8 @@ static void resolveTypeFromMangledNameList(
|
||||
}
|
||||
|
||||
static void
|
||||
collectMangledNames(std::string &FilePath,
|
||||
llvm::SmallVector<std::string, 8> &MangledNames) {
|
||||
collectMangledNames(const std::string &FilePath,
|
||||
llvm::SmallVectorImpl<std::string> &MangledNames) {
|
||||
std::string Name;
|
||||
std::ifstream InputStream(FilePath);
|
||||
while (std::getline(InputStream, Name)) {
|
||||
|
||||
Reference in New Issue
Block a user