Rename hasUniqueInput to hasSingleInput.

This commit is contained in:
David Ungar
2017-12-06 15:25:16 -08:00
parent 4c5d5faa63
commit 704d7258d1
5 changed files with 10 additions and 10 deletions

View File

@@ -541,7 +541,7 @@ static bool performCompile(CompilerInstance &Instance,
auto &LLVMContext = getGlobalLLVMContext();
// Load in bitcode file.
assert(Invocation.getFrontendOptions().Inputs.hasUniqueInput() &&
assert(Invocation.getFrontendOptions().Inputs.hasSingleInput() &&
"We expect a single input for bitcode input!");
llvm::ErrorOr<std::unique_ptr<llvm::MemoryBuffer>> FileBufOrErr =
llvm::MemoryBuffer::getFileOrSTDIN(