LLVM API Documentation
#include <SourceMgr.h>
Public Member Functions | |
| SMLoc () | |
| SMLoc (const SMLoc &RHS) | |
| bool | isValid () const |
| bool | operator== (const SMLoc &RHS) const |
| bool | operator!= (const SMLoc &RHS) const |
| const char * | getPointer () const |
Static Public Member Functions | |
| static SMLoc | getFromPointer (const char *Ptr) |
Definition at line 29 of file SourceMgr.h.
| llvm::SMLoc::SMLoc | ( | ) | [inline] |
Definition at line 32 of file SourceMgr.h.
| llvm::SMLoc::SMLoc | ( | const SMLoc & | RHS | ) | [inline] |
Definition at line 33 of file SourceMgr.h.
| bool llvm::SMLoc::isValid | ( | ) | const [inline] |
Definition at line 35 of file SourceMgr.h.
| const char* llvm::SMLoc::getPointer | ( | ) | const [inline] |
Definition at line 40 of file SourceMgr.h.
Referenced by llvm::SourceMgr::FindBufferContainingLoc(), llvm::SourceMgr::FindLineNumber(), and llvm::SourceMgr::GetMessage().
| static SMLoc llvm::SMLoc::getFromPointer | ( | const char * | Ptr | ) | [inline, static] |
Definition at line 42 of file SourceMgr.h.
Referenced by llvm::SourceMgr::FindLineNumber(), llvm::AsmToken::getLoc(), and llvm::LLLexer::getLoc().