clang API Documentation
InputInfo - Wrapper for information about an input source. More...
#include <InputInfo.h>
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 |
InputInfo - Wrapper for information about an input source.
Definition at line 22 of file InputInfo.h.
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 llvm::opt::Arg * | _InputArg, |
types::ID | _Type, | ||
const char * | _BaseInput | ||
) | [inline] |
Definition at line 53 of file InputInfo.h.
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().
types::ID clang::driver::InputInfo::getType | ( | ) | const [inline] |
Definition at line 62 of file InputInfo.h.
Referenced by addDashXForInput(), clang::driver::tools::Clang::ConstructJob(), clang::driver::tools::darwin::Link::ConstructJob(), and clang::driver::tools::visualstudio::Compile::GetCommand().
bool clang::driver::InputInfo::isFilename | ( | ) | const [inline] |
Definition at line 60 of file InputInfo.h.
References Filename.
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::darwin::Assemble::ConstructJob(), clang::driver::tools::darwin::Lipo::ConstructJob(), clang::driver::tools::openbsd::Link::ConstructJob(), clang::driver::tools::bitrig::Link::ConstructJob(), clang::driver::tools::freebsd::Link::ConstructJob(), clang::driver::tools::netbsd::Link::ConstructJob(), clang::driver::tools::minix::Link::ConstructJob(), clang::driver::tools::solaris::Link::ConstructJob(), clang::driver::tools::dragonfly::Link::ConstructJob(), clang::driver::tools::visualstudio::Link::ConstructJob(), clang::driver::tools::XCore::Link::ConstructJob(), getAsString(), and getFilename().
bool clang::driver::InputInfo::isInputArg | ( | ) | const [inline] |
Definition at line 61 of file InputInfo.h.
References InputArg.
Referenced by getAsString(), and getInputArg().
bool clang::driver::InputInfo::isNothing | ( | ) | const [inline] |
Definition at line 59 of file InputInfo.h.
Referenced by clang::driver::tools::Clang::ConstructJob(), clang::driver::tools::gcc::Common::ConstructJob(), clang::driver::tools::hexagon::Assemble::ConstructJob(), clang::driver::tools::openbsd::Link::ConstructJob(), clang::driver::tools::bitrig::Link::ConstructJob(), clang::driver::tools::freebsd::Link::ConstructJob(), clang::driver::tools::netbsd::Link::ConstructJob(), clang::driver::tools::minix::Link::ConstructJob(), clang::driver::tools::solaris::Link::ConstructJob(), clang::driver::tools::dragonfly::Link::ConstructJob(), clang::driver::tools::visualstudio::Link::ConstructJob(), and clang::driver::tools::XCore::Link::ConstructJob().
const char* clang::driver::InputInfo::Filename |
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().