Skip to content

Commit

Permalink
Eliminate -Wadl warnings exposed by the previous commit.
Browse files Browse the repository at this point in the history
  • Loading branch information
Quuxplusone committed Aug 13, 2018
1 parent 9ff8914 commit 59e6af8
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion lib/Driver/Job.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -323,7 +323,7 @@ int Command::Execute(ArrayRef<llvm::Optional<StringRef>> Redirects,
assert(Environment.back() == nullptr &&
"Environment vector should be null-terminated by now");
ArgvVectorStorage = llvm::toStringRefArray(Environment.data());
Env = makeArrayRef(ArgvVectorStorage);
Env = llvm::makeArrayRef(ArgvVectorStorage);
}

if (ResponseFile == nullptr) {
Expand Down
2 changes: 1 addition & 1 deletion unittests/Basic/VirtualFileSystemTest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -975,7 +975,7 @@ class VFSFromYAMLTest : public ::testing::Test {
getFromYAMLRawString(StringRef Content,
IntrusiveRefCntPtr<vfs::FileSystem> ExternalFS) {
std::unique_ptr<MemoryBuffer> Buffer = MemoryBuffer::getMemBuffer(Content);
return getVFSFromYAML(std::move(Buffer), CountingDiagHandler, "", this,
return vfs::getVFSFromYAML(std::move(Buffer), CountingDiagHandler, "", this,
ExternalFS);
}

Expand Down
2 changes: 1 addition & 1 deletion unittests/Rename/ClangRenameTest.h
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ class ClangRenameTest : public testing::Test,
FileContents))
return "";

formatAndApplyAllReplacements(FileToReplacements, Context.Rewrite, "llvm");
tooling::formatAndApplyAllReplacements(FileToReplacements, Context.Rewrite, "llvm");
return Context.getRewrittenText(InputFileID);
}

Expand Down

0 comments on commit 59e6af8

Please sign in to comment.