clang
15.0.0git
|
Like Command, but always pretends that the wrapped command succeeded. More...
#include "clang/Driver/Job.h"
Public Member Functions | |
ForceSuccessCommand (const Action &Source_, const Tool &Creator_, ResponseFileSupport ResponseSupport, const char *Executable_, const llvm::opt::ArgStringList &Arguments_, ArrayRef< InputInfo > Inputs, ArrayRef< InputInfo > Outputs=None) | |
void | Print (llvm::raw_ostream &OS, const char *Terminator, bool Quote, CrashReportInfo *CrashInfo=nullptr) const override |
int | Execute (ArrayRef< Optional< StringRef >> Redirects, std::string *ErrMsg, bool *ExecutionFailed) const override |
![]() | |
Command (const Action &Source, const Tool &Creator, ResponseFileSupport ResponseSupport, const char *Executable, const llvm::opt::ArgStringList &Arguments, ArrayRef< InputInfo > Inputs, ArrayRef< InputInfo > Outputs=None) | |
Command (const Command &)=default | |
virtual | ~Command ()=default |
const Action & | getSource () const |
getSource - Return the Action which caused the creation of this job. More... | |
const Tool & | getCreator () const |
getCreator - Return the Tool which caused the creation of this job. More... | |
const ResponseFileSupport & | getResponseFileSupport () |
Returns the kind of response file supported by the current invocation. More... | |
void | setResponseFile (const char *FileName) |
Set to pass arguments via a response file when launching the command. More... | |
void | setInputFileList (llvm::opt::ArgStringList List) |
Set an input file list, necessary if you specified an RF_FileList response file support. More... | |
virtual void | setEnvironment (llvm::ArrayRef< const char * > NewEnvironment) |
Sets the environment to be used by the new process. More... | |
void | replaceArguments (llvm::opt::ArgStringList List) |
void | replaceExecutable (const char *Exe) |
const char * | getExecutable () const |
const llvm::opt::ArgStringList & | getArguments () const |
const std::vector< InputInfo > & | getInputInfos () const |
const std::vector< std::string > & | getOutputFilenames () const |
Optional< llvm::sys::ProcessStatistics > | getProcessStatistics () const |
Additional Inherited Members | |
![]() | |
bool | PrintInputFilenames = false |
Whether to print the input filenames when executing. More... | |
bool | InProcess = false |
Whether the command will be executed in this process or not. More... | |
![]() | |
void | PrintFileNames () const |
Optionally print the filenames to be compiled. More... | |
Like Command, but always pretends that the wrapped command succeeded.
|
overridevirtual |
Reimplemented from clang::driver::Command.
|
overridevirtual |
Reimplemented from clang::driver::Command.
Definition at line 428 of file Job.cpp.
References clang::driver::Command::Print().