LLVM: llvm::SMRange Class Reference (original) (raw)
Represents a range in source code. More...
#include "[llvm/Support/SMLoc.h](SMLoc%5F8h%5Fsource.html)"
Detailed Description
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".
Definition at line 47 of file SMLoc.h.
Constructor & Destructor Documentation
◆ SMRange() [1/2]
| llvm::SMRange::SMRange ( ) | default |
|---|
◆ SMRange() [2/2]
Member Function Documentation
◆ isValid()
| bool llvm::SMRange::isValid ( ) const | inline |
|---|
Member Data Documentation
◆ End
◆ Start
SMLoc llvm::SMRange::Start
The documentation for this class was generated from the following file:
- include/llvm/Support/SMLoc.h