|
LLVM
3.7.0
|
Represents a location in source code. More...
#include <SMLoc.h>
Public Member Functions | |
| SMLoc () | |
| 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 35 of file SMLoc.h.
Referenced by llvm::yaml::BlockScalarNode::BlockScalarNode(), llvm::X86Operand::CreateToken(), llvm::AsmToken::getEndLoc(), llvm::SourceMgr::getLineAndColumn(), llvm::LLLexer::getLoc(), llvm::AsmToken::getLoc(), llvm::TGLexer::getLoc(), llvm::MCAsmLexer::getLoc(), llvm::SourceMgr::GetMessage(), llvm::yaml::Node::Node(), llvm::PrintError(), llvm::PrintWarning(), RewriteIntelBracExpression(), llvm::yaml::ScalarNode::ScalarNode(), and llvm::yaml::Scanner::setError().
|
inline |
Definition at line 33 of file SMLoc.h.
Referenced by buildFixItLine(), llvm::X86Operand::CreateToken(), llvm::SourceMgr::FindBufferContainingLoc(), llvm::SourceMgr::getLineAndColumn(), llvm::SourceMgr::GetMessage(), llvm::X86Operand::isOffsetOf(), llvm::SMFixIt::operator<(), llvm::SMDiagnostic::print(), RewriteIntelBracExpression(), and rewritesSort().
|
inline |
Definition at line 28 of file SMLoc.h.
Referenced by llvm::SourceMgr::GetMessage(), llvm::SMRange::isValid(), llvm::SourceMgr::PrintMessage(), llvm::SMFixIt::SMFixIt(), and llvm::SMRange::SMRange().
1.8.6