LLVM: llvm::SMLoc Class Reference (original) (raw)

Represents a location in source code. More...

#include "[llvm/Support/SMLoc.h](SMLoc%5F8h%5Fsource.html)"

Public Member Functions
constexpr SMLoc ()=default
constexpr bool isValid () const
constexpr bool operator== (SMLoc RHS) const
constexpr bool operator!= (SMLoc RHS) const
constexpr const char * getPointer () const

Detailed Description

Represents a location in source code.

Definition at line 22 of file SMLoc.h.

Constructor & Destructor Documentation

llvm::SMLoc::SMLoc ( ) constexprdefault

Member Function Documentation

getFromPointer()

Definition at line 35 of file SMLoc.h.

References SMLoc().

Referenced by llvm::yaml::BlockScalarNode::BlockScalarNode(), llvm::FileCheckString::CheckDag(), llvm::FileCheckString::CheckNext(), llvm::FileCheckString::CheckSame(), llvm::X86Operand::CreateToken(), llvm::SourceMgr::FindLocForLineAndColumn(), llvm::ErrorDiagnostic::get(), llvm::AsmToken::getEndLoc(), llvm::AsmLexer::getLoc(), llvm::AsmToken::getLoc(), llvm::LLLexer::getLoc(), llvm::TGLexer::getLoc(), llvm::TGLexer::getLocRange(), llvm::SourceMgr::GetMessage(), llvm::LLLexer::getPrevTokEndLineColumnPos(), llvm::LLLexer::getTokLineColumnPos(), incrementLoc(), isAngleBracketString(), isAngleBracketString(), parseCC(), llvm::GCNTargetMachine::parseMachineFunctionInfo(), llvm::Pattern::parseNumericSubstitutionBlock(), llvm::Pattern::parsePattern(), parseRD(), llvm::parseType(), llvm::PrintError(), llvm::Pattern::printVariableDefs(), llvm::PrintWarning(), ProcessMatchResult(), llvm::FileCheck::readCheckFile(), llvm::yaml::ScalarNode::ScalarNode(), and llvm::yaml::Scanner::setError().

getPointer()

const char * llvm::SMLoc::getPointer ( ) const inlineconstexpr

isValid()

bool llvm::SMLoc::isValid ( ) const inlineconstexpr

operator!=()

bool llvm::SMLoc::operator!= ( SMLoc RHS) const inlineconstexpr

operator==()

bool llvm::SMLoc::operator== ( SMLoc RHS) const inlineconstexpr

The documentation for this class was generated from the following file: