Skip to content

Commit 8cd5e80

Browse files
author
Davide Italiano
committed
[lldb-moduleimport-test] Address Jordan's post commit review comments.
1 parent cb12aac commit 8cd5e80

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tools/lldb-moduleimport-test/lldb-moduleimport-test.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ static void printValidationInfo(llvm::StringRef data) {
6363
}
6464

6565
static void resolveTypeFromMangledNameList(
66-
swift::ASTContext &Ctx, llvm::SmallVector<std::string, 8> &MangledNames) {
66+
swift::ASTContext &Ctx, llvm::ArrayRef<std::string> MangledNames) {
6767
std::string Error;
6868
for (auto &Mangled : MangledNames) {
6969
swift::Type ResolvedType =
@@ -78,8 +78,8 @@ static void resolveTypeFromMangledNameList(
7878
}
7979

8080
static void
81-
collectMangledNames(std::string &FilePath,
82-
llvm::SmallVector<std::string, 8> &MangledNames) {
81+
collectMangledNames(const std::string &FilePath,
82+
llvm::SmallVectorImpl<std::string> &MangledNames) {
8383
std::string Name;
8484
std::ifstream InputStream(FilePath);
8585
while (std::getline(InputStream, Name)) {

0 commit comments

Comments
 (0)