clang API Documentation

Public Member Functions
clang::driver::InputInfo Class Reference

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

#include <InputInfo.h>

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

List of all members.

Public Member Functions

 InputInfo ()
 InputInfo (types::ID _Type, const char *_BaseInput)
 InputInfo (const char *_Filename, types::ID _Type, const char *_BaseInput)
 InputInfo (const llvm::opt::Arg *_InputArg, types::ID _Type, const char *_BaseInput)
bool isNothing () const
bool isFilename () const
bool isInputArg () const
types::ID getType () const
const char * getBaseInput () const
const char * getFilename () const
const llvm::opt::Arg & getInputArg () const
std::string getAsString () const

Detailed Description

InputInfo - Wrapper for information about an input source.

Definition at line 22 of file InputInfo.h.


Constructor & Destructor Documentation

Definition at line 45 of file InputInfo.h.

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

Definition at line 46 of file InputInfo.h.

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

Definition at line 49 of file InputInfo.h.

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

Definition at line 53 of file InputInfo.h.


Member Function Documentation

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

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

Definition at line 76 of file InputInfo.h.

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

Referenced by clang::driver::Driver::BuildJobsForAction().

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

Definition at line 63 of file InputInfo.h.

Referenced by clang::driver::tools::Clang::ConstructJob().

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

Definition at line 65 of file InputInfo.h.

References isFilename().

Referenced by clang::driver::tools::Clang::ConstructJob(), clang::driver::tools::ClangAs::ConstructJob(), clang::driver::tools::gcc::Common::ConstructJob(), clang::driver::tools::hexagon::Assemble::ConstructJob(), clang::driver::tools::hexagon::Link::ConstructJob(), clang::driver::tools::darwin::Assemble::ConstructJob(), clang::driver::tools::darwin::Link::ConstructJob(), clang::driver::tools::darwin::Lipo::ConstructJob(), clang::driver::tools::darwin::Dsymutil::ConstructJob(), clang::driver::tools::openbsd::Assemble::ConstructJob(), clang::driver::tools::openbsd::Link::ConstructJob(), clang::driver::tools::bitrig::Assemble::ConstructJob(), clang::driver::tools::bitrig::Link::ConstructJob(), clang::driver::tools::freebsd::Assemble::ConstructJob(), clang::driver::tools::freebsd::Link::ConstructJob(), clang::driver::tools::netbsd::Assemble::ConstructJob(), clang::driver::tools::netbsd::Link::ConstructJob(), clang::driver::tools::gnutools::Assemble::ConstructJob(), clang::driver::tools::gnutools::Link::ConstructJob(), clang::driver::tools::minix::Assemble::ConstructJob(), clang::driver::tools::minix::Link::ConstructJob(), clang::driver::tools::solaris::Assemble::ConstructJob(), clang::driver::tools::solaris::Link::ConstructJob(), clang::driver::tools::dragonfly::Assemble::ConstructJob(), clang::driver::tools::dragonfly::Link::ConstructJob(), clang::driver::tools::visualstudio::Link::ConstructJob(), clang::driver::tools::XCore::Assemble::ConstructJob(), clang::driver::tools::XCore::Link::ConstructJob(), clang::driver::tools::CrossWindows::Assemble::ConstructJob(), clang::driver::tools::CrossWindows::Link::ConstructJob(), getAsString(), clang::driver::tools::visualstudio::Compile::GetCommand(), and SplitDebugInfo().

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

Definition at line 69 of file InputInfo.h.

References isInputArg().

Referenced by clang::driver::tools::visualstudio::Compile::GetCommand().

Definition at line 61 of file InputInfo.h.

References InputArg.

Referenced by getAsString(), and getInputArg().


Member Data Documentation

Definition at line 37 of file InputInfo.h.

Referenced by isFilename().

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

Definition at line 38 of file InputInfo.h.

Referenced by isInputArg().


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