class InputInfo

Declaration

class InputInfo { /* full declaration omitted */ };

Description

InputInfo - Wrapper for information about an input source.

Declared at: clang/include/clang/Driver/InputInfo.h:22

Member Variables

private union(unnamed union at / home / hdoc / tmp / llvm - project / clang / include / clang / Driver / InputInfo.h : 36 : 3) Data
private clang::driver::InputInfo::Class Kind
private const clang::driver::Action* Act
private types::ID Type
private const char* BaseInput

Method Overview

  • private static types::ID GetActionType(const clang::driver::Action * A)
  • public InputInfo()
  • public InputInfo(const clang::driver::Action * A, const char * _BaseInput)
  • public InputInfo(types::ID _Type, const char * _Filename, const char * _BaseInput)
  • public InputInfo(const clang::driver::Action * A, const char * _Filename, const char * _BaseInput)
  • public InputInfo(types::ID _Type, const llvm::opt::Arg * _InputArg, const char * _BaseInput)
  • public InputInfo(const clang::driver::Action * A, const llvm::opt::Arg * _InputArg, const char * _BaseInput)
  • public const clang::driver::Action * getAction() const
  • public std::string getAsString() const
  • public const char * getBaseInput() const
  • public const char * getFilename() const
  • public const llvm::opt::Arg & getInputArg() const
  • public types::ID getType() const
  • public bool isFilename() const
  • public bool isInputArg() const
  • public bool isNothing() const
  • public void setAction(const clang::driver::Action * A)

Methods

static types::ID GetActionType(
    const clang::driver::Action* A)

Declared at: clang/include/clang/Driver/InputInfo.h:45

Parameters

const clang::driver::Action* A

InputInfo()

Declared at: clang/include/clang/Driver/InputInfo.h:50

InputInfo(const clang::driver::Action* A,
          const char* _BaseInput)

Declared at: clang/include/clang/Driver/InputInfo.h:51

Parameters

const clang::driver::Action* A
const char* _BaseInput

InputInfo(types::ID _Type,
          const char* _Filename,
          const char* _BaseInput)

Declared at: clang/include/clang/Driver/InputInfo.h:54

Parameters

types::ID _Type
const char* _Filename
const char* _BaseInput

InputInfo(const clang::driver::Action* A,
          const char* _Filename,
          const char* _BaseInput)

Declared at: clang/include/clang/Driver/InputInfo.h:58

Parameters

const clang::driver::Action* A
const char* _Filename
const char* _BaseInput

InputInfo(types::ID _Type,
          const llvm::opt::Arg* _InputArg,
          const char* _BaseInput)

Declared at: clang/include/clang/Driver/InputInfo.h:63

Parameters

types::ID _Type
const llvm::opt::Arg* _InputArg
const char* _BaseInput

InputInfo(const clang::driver::Action* A,
          const llvm::opt::Arg* _InputArg,
          const char* _BaseInput)

Declared at: clang/include/clang/Driver/InputInfo.h:68

Parameters

const clang::driver::Action* A
const llvm::opt::Arg* _InputArg
const char* _BaseInput

const clang::driver::Action* getAction() const

Description

The action for which this InputInfo was created. May be null.

Declared at: clang/include/clang/Driver/InputInfo.h:80

std::string getAsString() const

Description

getAsString - Return a string name for this input, for debugging.

Declared at: clang/include/clang/Driver/InputInfo.h:94

const char* getBaseInput() const

Declared at: clang/include/clang/Driver/InputInfo.h:78

const char* getFilename() const

Declared at: clang/include/clang/Driver/InputInfo.h:83

const llvm::opt::Arg& getInputArg() const

Declared at: clang/include/clang/Driver/InputInfo.h:87

types::ID getType() const

Declared at: clang/include/clang/Driver/InputInfo.h:77

bool isFilename() const

Declared at: clang/include/clang/Driver/InputInfo.h:75

bool isInputArg() const

Declared at: clang/include/clang/Driver/InputInfo.h:76

bool isNothing() const

Declared at: clang/include/clang/Driver/InputInfo.h:74

void setAction(const clang::driver::Action* A)

Declared at: clang/include/clang/Driver/InputInfo.h:81

Parameters

const clang::driver::Action* A