LLVM
8.0.1
|
Represents a range in source code. More...
#include "llvm/Support/SMLoc.h"
Public Member Functions | |
SMRange ()=default | |
SMRange (NoneType) | |
SMRange (SMLoc St, SMLoc En) | |
bool | isValid () const |
Public Attributes | |
SMLoc | Start |
SMLoc | End |
Represents a range in source code.
SMRange is implemented using a half-open range, as is the convention in C++. In the string "abc", the range [1,3) represents the substring "bc", and the range [2,2) represents an empty range between the characters "b" and "c".
|
default |
Definition at line 55 of file SMLoc.h.
References assert(), and llvm::SMLoc::isValid().
|
inline |
Definition at line 60 of file SMLoc.h.
References llvm::SMLoc::isValid().
Referenced by llvm::SourceMgr::GetMessage(), llvm::MIRParserImpl::initializeJumpTableInfo(), llvm::FileCheckPattern::PrintVariableUses(), and llvm::SMFixIt::SMFixIt().
SMLoc llvm::SMRange::End |
Definition at line 51 of file SMLoc.h.
Referenced by buildFixItLine(), llvm::SourceMgr::GetMessage(), llvm::MIRParserImpl::initializeJumpTableInfo(), isObjectStart(), and llvm::SMFixIt::operator<().
SMLoc llvm::SMRange::Start |
Definition at line 51 of file SMLoc.h.
Referenced by buildFixItLine(), llvm::SourceMgr::GetMessage(), getSpecialRegForName(), llvm::MIRParserImpl::initializeFrameInfo(), llvm::MIRParserImpl::initializeJumpTableInfo(), isObjectStart(), llvm::SMFixIt::operator<(), llvm::yaml::Stream::printError(), llvm::FileCheckPattern::PrintFuzzyMatch(), PrintMatch(), PrintNoMatch(), llvm::FileCheckPattern::PrintVariableUses(), QualifiedNameOfImplicitName(), and RefineErrorLoc().