clang  6.0.0svn
Public Member Functions | List of all members
clang::driver::InputInfo Class Reference

InputInfo - Wrapper for information about an input source. More...

#include "/opt/doxygen-docs/src/llvm/tools/clang/lib/Driver/InputInfo.h"

Collaboration diagram for clang::driver::InputInfo:
Collaboration graph
[legend]

Public Member Functions

 InputInfo ()
 
 InputInfo (const Action *A, const char *_BaseInput)
 
 InputInfo (types::ID _Type, const char *_Filename, const char *_BaseInput)
 
 InputInfo (const Action *A, const char *_Filename, const char *_BaseInput)
 
 InputInfo (types::ID _Type, const llvm::opt::Arg *_InputArg, const char *_BaseInput)
 
 InputInfo (const Action *A, const llvm::opt::Arg *_InputArg, const char *_BaseInput)
 
bool isNothing () const
 
bool isFilename () const
 
bool isInputArg () const
 
types::ID getType () const
 
const char * getBaseInput () const
 
const ActiongetAction () const
 The action for which this InputInfo was created. May be null. More...
 
void setAction (const Action *A)
 
const char * getFilename () const
 
const llvm::opt::Arg & getInputArg () const
 
std::string getAsString () const
 getAsString - Return a string name for this input, for debugging. More...
 

Detailed Description

InputInfo - Wrapper for information about an input source.

Definition at line 23 of file InputInfo.h.

Constructor & Destructor Documentation

◆ InputInfo() [1/6]

clang::driver::InputInfo::InputInfo ( )
inline

Definition at line 51 of file InputInfo.h.

◆ InputInfo() [2/6]

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

Definition at line 52 of file InputInfo.h.

◆ InputInfo() [3/6]

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

Definition at line 55 of file InputInfo.h.

◆ InputInfo() [4/6]

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

Definition at line 59 of file InputInfo.h.

◆ InputInfo() [5/6]

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

Definition at line 64 of file InputInfo.h.

◆ InputInfo() [6/6]

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

Definition at line 69 of file InputInfo.h.

Member Function Documentation

◆ getAction()

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

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

Definition at line 81 of file InputInfo.h.

◆ getAsString()

std::string clang::driver::InputInfo::getAsString ( ) const
inline

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

Definition at line 95 of file InputInfo.h.

References getFilename(), isFilename(), and isInputArg().

◆ getBaseInput()

const char* clang::driver::InputInfo::getBaseInput ( ) const
inline

◆ getFilename()

const char* clang::driver::InputInfo::getFilename ( ) const
inline

Definition at line 84 of file InputInfo.h.

References isFilename().

Referenced by ConstructGoldLinkJob(), constructHexagonLinkArgs(), clang::driver::tools::wasm::Linker::ConstructJob(), clang::driver::tools::fuchsia::Linker::ConstructJob(), clang::driver::tools::CrossWindows::Assembler::ConstructJob(), clang::driver::tools::minix::Assembler::ConstructJob(), clang::driver::tools::SHAVE::Compiler::ConstructJob(), clang::driver::tools::XCore::Assembler::ConstructJob(), clang::driver::tools::dragonfly::Assembler::ConstructJob(), clang::driver::tools::amdgpu::Linker::ConstructJob(), clang::driver::tools::cloudabi::Linker::ConstructJob(), clang::driver::tools::netbsd::Assembler::ConstructJob(), clang::driver::tools::openbsd::Assembler::ConstructJob(), clang::driver::tools::ananas::Assembler::ConstructJob(), clang::driver::tools::solaris::Assembler::ConstructJob(), clang::driver::tools::freebsd::Assembler::ConstructJob(), clang::driver::tools::MinGW::Assembler::ConstructJob(), clang::driver::tools::hexagon::Assembler::ConstructJob(), clang::driver::tools::visualstudio::Linker::ConstructJob(), clang::driver::tools::PS4cpu::Assemble::ConstructJob(), clang::driver::tools::nacltools::Linker::ConstructJob(), clang::driver::tools::AVR::Linker::ConstructJob(), clang::driver::tools::XCore::Linker::ConstructJob(), clang::driver::tools::SHAVE::Assembler::ConstructJob(), clang::driver::tools::minix::Linker::ConstructJob(), clang::driver::tools::dragonfly::Linker::ConstructJob(), clang::driver::tools::solaris::Linker::ConstructJob(), clang::driver::tools::openbsd::Linker::ConstructJob(), clang::driver::tools::MinGW::Linker::ConstructJob(), clang::driver::tools::netbsd::Linker::ConstructJob(), clang::driver::tools::CrossWindows::Linker::ConstructJob(), clang::driver::tools::ananas::Linker::ConstructJob(), clang::driver::tools::freebsd::Linker::ConstructJob(), clang::driver::tools::gnutools::Assembler::ConstructJob(), clang::driver::tools::Myriad::Linker::ConstructJob(), clang::driver::tools::gnutools::Linker::ConstructJob(), clang::driver::tools::baremetal::Linker::ConstructJob(), clang::driver::tools::darwin::Linker::ConstructJob(), clang::driver::tools::gcc::Common::ConstructJob(), clang::driver::tools::darwin::Lipo::ConstructJob(), clang::driver::tools::darwin::Dsymutil::ConstructJob(), clang::driver::tools::NVPTX::Linker::ConstructJob(), clang::driver::tools::NVPTX::OpenMPLinker::ConstructJob(), clang::driver::tools::ClangAs::ConstructJob(), ConstructPS4LinkJob(), getAsString(), clang::driver::tools::visualstudio::Compiler::GetCommand(), RelocationModelName(), and RenderModulesOptions().

◆ getInputArg()

const llvm::opt::Arg& clang::driver::InputInfo::getInputArg ( ) const
inline

Definition at line 88 of file InputInfo.h.

References isInputArg().

◆ getType()

types::ID clang::driver::InputInfo::getType ( ) const
inline

◆ isFilename()

bool clang::driver::InputInfo::isFilename ( ) const
inline

◆ isInputArg()

bool clang::driver::InputInfo::isInputArg ( ) const
inline

Definition at line 77 of file InputInfo.h.

References InputArg.

Referenced by getAsString(), and getInputArg().

◆ isNothing()

bool clang::driver::InputInfo::isNothing ( ) const
inline

◆ setAction()

void clang::driver::InputInfo::setAction ( const Action A)
inline

Definition at line 82 of file InputInfo.h.

Member Data Documentation

◆ Filename

const char* clang::driver::InputInfo::Filename

Definition at line 38 of file InputInfo.h.

Referenced by isFilename().

◆ InputArg

const llvm::opt::Arg* clang::driver::InputInfo::InputArg

Definition at line 39 of file InputInfo.h.

Referenced by isInputArg().


The documentation for this class was generated from the following file: