clang 22.0.0git
|
A source range independent of the SourceManager
.
More...
#include "clang/Tooling/Core/Replacement.h"
Public Member Functions | |
Range ()=default | |
Range (unsigned Offset, unsigned Length) | |
unsigned | getOffset () const |
Accessors. | |
unsigned | getLength () const |
Range Predicates | |
Whether this range overlaps with | |
bool | overlapsWith (Range RHS) const |
bool | contains (Range RHS) const |
Whether this range contains RHS or not. | |
bool | operator== (const Range &RHS) const |
Whether this range equals to RHS or not. |
A source range independent of the SourceManager
.
Definition at line 44 of file Replacement.h.
|
default |
Referenced by contains(), operator==(), and overlapsWith().
Definition at line 47 of file Replacement.h.
Whether this range contains RHS
or not.
Definition at line 63 of file Replacement.h.
References Range().
|
inline |
Definition at line 52 of file Replacement.h.
Referenced by combineAndSortRanges(), and operator==().
|
inline |
Accessors.
Definition at line 51 of file Replacement.h.
Referenced by combineAndSortRanges(), and operator==().
Whether this range equals to RHS
or not.
Definition at line 69 of file Replacement.h.
References getLength(), getOffset(), and Range().
Definition at line 58 of file Replacement.h.
References Range().
Referenced by clang::tooling::Replacements::add().