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 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 ArggetInputArg () 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

clang::driver::InputInfo::InputInfo ( ) [inline]

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 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 75 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 62 of file InputInfo.h.

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

Definition at line 64 of file InputInfo.h.

References isFilename().

Referenced by clang::driver::tools::darwin::CC1::AddCPPUniqueOptionsArgs(), AddLinkerInputs(), 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::Preprocess::ConstructJob(), clang::driver::tools::darwin::Compile::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::freebsd::Assemble::ConstructJob(), clang::driver::tools::freebsd::Link::ConstructJob(), clang::driver::tools::netbsd::Assemble::ConstructJob(), clang::driver::tools::netbsd::Link::ConstructJob(), clang::driver::tools::linuxtools::Assemble::ConstructJob(), clang::driver::tools::linuxtools::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::auroraux::Assemble::ConstructJob(), clang::driver::tools::auroraux::Link::ConstructJob(), clang::driver::tools::dragonfly::Assemble::ConstructJob(), clang::driver::tools::dragonfly::Link::ConstructJob(), clang::driver::tools::visualstudio::Link::ConstructJob(), and getAsString().

const Arg& clang::driver::InputInfo::getInputArg ( ) const [inline]
QualType SymbolRegionValue::getType ( ) const [inline]
bool clang::driver::InputInfo::isFilename ( ) const [inline]
bool clang::driver::InputInfo::isInputArg ( ) const [inline]

Definition at line 60 of file InputInfo.h.

References InputArg.

Referenced by getAsString(), and getInputArg().

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

Member Data Documentation

Definition at line 37 of file InputInfo.h.

Referenced by isFilename().

Definition at line 38 of file InputInfo.h.

Referenced by isInputArg().


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