class ForceSuccessCommand

Declaration

class ForceSuccessCommand : public Command { /* full declaration omitted */ };

Description

Like Command, but always pretends that the wrapped command succeeded.

Declared at: clang/include/clang/Driver/Job.h:250

Inherits from: Command

Member Variables

Inherited from Command:

public PrintInputFilenames = false
public InProcess = false

Method Overview

  • public int Execute(ArrayRef<Optional<llvm::StringRef>> Redirects, std::string * ErrMsg, bool * ExecutionFailed) const
  • public ForceSuccessCommand(const clang::driver::Action & Source_, const clang::driver::Tool & Creator_, clang::driver::ResponseFileSupport ResponseSupport, const char * Executable_, const llvm::opt::ArgStringList & Arguments_, ArrayRef<clang::driver::InputInfo> Inputs, ArrayRef<clang::driver::InputInfo> Outputs = None)
  • public void Print(llvm::raw_ostream & OS, const char * Terminator, bool Quote, clang::driver::CrashReportInfo * CrashInfo = nullptr) const

Inherited from Command:

Methods

int Execute(
    ArrayRef<Optional<llvm::StringRef>> Redirects,
    std::string* ErrMsg,
    bool* ExecutionFailed) const

Declared at: clang/include/clang/Driver/Job.h:262

Parameters

ArrayRef<Optional<llvm::StringRef>> Redirects
std::string* ErrMsg
bool* ExecutionFailed

ForceSuccessCommand(
    const clang::driver::Action& Source_,
    const clang::driver::Tool& Creator_,
    clang::driver::ResponseFileSupport
        ResponseSupport,
    const char* Executable_,
    const llvm::opt::ArgStringList& Arguments_,
    ArrayRef<clang::driver::InputInfo> Inputs,
    ArrayRef<clang::driver::InputInfo> Outputs =
        None)

Declared at: clang/include/clang/Driver/Job.h:252

Parameters

const clang::driver::Action& Source_
const clang::driver::Tool& Creator_
clang::driver::ResponseFileSupport ResponseSupport
const char* Executable_
const llvm::opt::ArgStringList& Arguments_
ArrayRef<clang::driver::InputInfo> Inputs
ArrayRef<clang::driver::InputInfo> Outputs = None

void Print(llvm::raw_ostream& OS,
           const char* Terminator,
           bool Quote,
           clang::driver::CrashReportInfo*
               CrashInfo = nullptr) const

Declared at: clang/include/clang/Driver/Job.h:259

Parameters

llvm::raw_ostream& OS
const char* Terminator
bool Quote
clang::driver::CrashReportInfo* CrashInfo = nullptr