LLVM API Documentation
|SMRange (SMLoc St, SMLoc En)|
|bool||isValid () const|
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".
|bool llvm::SMRange::isValid||(||)|| const