Lines Matching defs:Command
1 //===- Job.cpp - Command to Execute ---------------------------------------===//
38 Command::Command(const Action &Source, const Tool &Creator,
106 void Command::writeResponseFile(raw_ostream &OS) const {
132 void Command::buildArgvForResponseFile(
201 void Command::Print(raw_ostream &OS, const char *Terminator, bool Quote,
291 void Command::setResponseFile(const char *FileName) {
297 void Command::setEnvironment(llvm::ArrayRef<const char *> NewEnvironment) {
303 void Command::PrintFileNames() const {
311 int Command::Execute(ArrayRef<llvm::Optional<StringRef>> Redirects,
321 // If the command is too large, we need to put arguments in a response file.
364 : Command(Source, Creator, ResponseSupport, Executable, Arguments, Inputs,
373 Command::Print(OS, Terminator, Quote, CrashInfo);
382 return Command::Execute(Redirects, ErrMsg, ExecutionFailed);
422 : Command(Source_, Creator_, ResponseSupport, Executable_, Arguments_,
427 Command::Print(OS, "", Quote, CrashInfo);
434 int Status = Command::Execute(Redirects, ErrMsg, ExecutionFailed);