This is dead code.
llvm-svn: 225766
// \brief Returns the number of input files.
size_t size() const { return _inputArgs.size(); }
- /// \brief Dump the input Graph
- bool dump(raw_ostream &diagnostics = llvm::errs());
-
protected:
// Input arguments
InputElementVectorT _inputArgs;
_inputArgs.insert(_inputArgs.begin(), std::move(ie));
}
-bool InputGraph::dump(raw_ostream &diagnostics) {
- for (std::unique_ptr<InputElement> &ie : _inputArgs)
- if (!ie->dump(diagnostics))
- return false;
- return true;
-}
-
/// \brief Helper functions for the resolver
InputElement *InputGraph::getNextInputElement() {
if (_nextElementIndex >= _inputArgs.size())
}
}
- if (ctx->outputFileType() == LinkingContext::OutputFileType::YAML)
- inputGraph->dump(diagnostics);
-
// Validate the combination of options used.
if (!ctx->validate(diagnostics))
return false;