class JobAction

Declaration

class JobAction : public Action { /* full declaration omitted */ };

Description

Action - Represent an abstract compilation step to perform. An action represents an edge in the compilation graph; typically it is a job to transform an input using some tool. The current driver is hard wired to expect actions which produce a single primary output, at least in terms of controlling the compilation. Actions can produce auxiliary files, but can only produce a single output to feed into subsequent actions. Actions are usually owned by a Compilation, which creates new actions via MakeAction().

Declared at: clang/include/clang/Driver/Action.h:395

Inherits from: Action

Member Variables

Inherited from Action:

protected ActiveOffloadKindMask = 0U
protected OffloadingDeviceKind = OFK_None
protected OffloadingArch = nullptr
protected OffloadingToolChain = nullptr

Method Overview

  • protected JobAction(clang::driver::Action::ActionClass Kind, clang::driver::Action * Input, types::ID Type)
  • protected JobAction(clang::driver::Action::ActionClass Kind, const clang::driver::ActionList & Inputs, types::ID Type)
  • private virtual void anchor()
  • public static bool classof(const clang::driver::Action * A)

Inherited from Action:

Methods

JobAction(clang::driver::Action::ActionClass Kind,
          clang::driver::Action* Input,
          types::ID Type)

Declared at: clang/include/clang/Driver/Action.h:399

Parameters

clang::driver::Action::ActionClass Kind
clang::driver::Action* Input
types::ID Type

JobAction(clang::driver::Action::ActionClass Kind,
          const clang::driver::ActionList& Inputs,
          types::ID Type)

Declared at: clang/include/clang/Driver/Action.h:400

Parameters

clang::driver::Action::ActionClass Kind
const clang::driver::ActionList& Inputs
types::ID Type

virtual void anchor()

Declared at: clang/include/clang/Driver/Action.h:396

static bool classof(
    const clang::driver::Action* A)

Declared at: clang/include/clang/Driver/Action.h:403

Parameters

const clang::driver::Action* A