LLVM
8.0.1
|
Represents a location in source code. More...
#include "llvm/Support/SMLoc.h"
Public Member Functions | |
SMLoc ()=default | |
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) |
|
default |
Definition at line 37 of file SMLoc.h.
Referenced by addNegOperand(), llvm::FileCheckString::CheckNext(), llvm::FileCheckString::CheckSame(), convertFPR32ToFPR64(), llvm::X86Operand::CreateToken(), EmitGCCInlineAsmStr(), encodeCnt(), llvm::AsmToken::getEndLoc(), llvm::LLLexer::getLoc(), llvm::AsmToken::getLoc(), llvm::MCAsmLexer::getLoc(), llvm::TGLexer::getLoc(), llvm::SourceMgr::GetMessage(), incrementLoc(), llvm::MIRParserImpl::initializeJumpTableInfo(), isAltmacroString(), IsIdentifierChar(), matchSVEPredicateVectorRegName(), llvm::FileCheckPattern::ParsePattern(), llvm::PrintError(), llvm::FileCheckPattern::PrintFuzzyMatch(), printMCExpr(), llvm::FileCheckPattern::PrintVariableUses(), llvm::PrintWarning(), llvm::FileCheck::ReadCheckFile(), RefineErrorLoc(), llvm::AsmLexer::setBuffer(), and shouldBeSls().
Definition at line 35 of file SMLoc.h.
Referenced by addNegOperand(), buildFixItLine(), convertFPR32ToFPR64(), llvm::X86Operand::CreateToken(), llvm::SourceMgr::FindBufferContainingLoc(), getGNUBinOpPrecedence(), llvm::SourceMgr::getLineAndColumn(), llvm::TGLexer::getLoc(), llvm::SourceMgr::GetMessage(), incrementLoc(), llvm::MIRParserImpl::initializeJumpTableInfo(), isAltmacroString(), llvm::X86Operand::isOffsetOf(), isOperator(), isValidEncoding(), llvm::SMFixIt::operator<(), llvm::SMDiagnostic::print(), printMCExpr(), RefineErrorLoc(), and rewritesSort().
|
inline |
Definition at line 30 of file SMLoc.h.
Referenced by llvm::SourceMgr::GetMessage(), getPrefixes(), llvm::SMRange::isValid(), parseHexOcta(), llvm::SourceMgr::PrintMessage(), llvm::SMFixIt::SMFixIt(), and llvm::SMRange::SMRange().