LLVM API Documentation
#include <ProgramInfo.h>
Public Member Functions | |
| SourceFileInfo (const GlobalVariable *Desc, const SourceLanguage &Lang) | |
| ~SourceFileInfo () | |
| const std::string & | getBaseName () const |
| const std::string & | getDirectory () const |
| unsigned | getDebugVersion () const |
| const GlobalVariable * | getDescriptor () const |
| SourceFile & | getSourceText () const |
| const SourceLanguage & | getLanguage () const |
Definition at line 46 of file ProgramInfo.h.
| SourceFileInfo::SourceFileInfo | ( | const GlobalVariable * | Desc, | |
| const SourceLanguage & | Lang | |||
| ) |
Definition at line 108 of file ProgramInfo.cpp.
References llvm::GetConstantStringInfo(), llvm::GlobalVariable::getInitializer(), and llvm::GlobalVariable::hasInitializer().
| SourceFileInfo::~SourceFileInfo | ( | ) |
Definition at line 127 of file ProgramInfo.cpp.
| const std::string& llvm::SourceFileInfo::getBaseName | ( | ) | const [inline] |
| const std::string& llvm::SourceFileInfo::getDirectory | ( | ) | const [inline] |
Definition at line 75 of file ProgramInfo.h.
| unsigned llvm::SourceFileInfo::getDebugVersion | ( | ) | const [inline] |
Definition at line 76 of file ProgramInfo.h.
| const GlobalVariable* llvm::SourceFileInfo::getDescriptor | ( | ) | const [inline] |
Definition at line 77 of file ProgramInfo.h.
| SourceFile & SourceFileInfo::getSourceText | ( | ) | const |
Definition at line 131 of file ProgramInfo.cpp.
References llvm::sys::Path::appendComponent(), llvm::sys::Path::canRead(), llvm::sys::Path::set(), and llvm::sys::Path::toString().
| const SourceLanguage& llvm::SourceFileInfo::getLanguage | ( | ) | const [inline] |