|
clang
5.0.0
|
A source range independent of the SourceManager.
More...
#include "clang/Tooling/Core/Replacement.h"
Public Member Functions | |
| Range () | |
| Range (unsigned Offset, unsigned Length) | |
| unsigned | getOffset () const |
| Accessors. More... | |
| 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. More... | |
| bool | operator== (const Range &RHS) const |
Whether this range equals to RHS or not. More... | |
A source range independent of the SourceManager.
Definition at line 42 of file Replacement.h.
|
inline |
Definition at line 44 of file Replacement.h.
Definition at line 45 of file Replacement.h.
Whether this range contains RHS or not.
Definition at line 61 of file Replacement.h.
|
inline |
Definition at line 50 of file Replacement.h.
Referenced by clang::tooling::Replacement::apply(), clang::tooling::combineAndSortRanges(), clang::tooling::Replacement::getLength(), operator==(), and clang::tooling::Replacement::toString().
|
inline |
Accessors.
Definition at line 49 of file Replacement.h.
Referenced by clang::tooling::Replacement::apply(), clang::tooling::combineAndSortRanges(), clang::tooling::Replacement::getOffset(), operator==(), and clang::tooling::Replacement::toString().
Whether this range equals to RHS or not.
Definition at line 67 of file Replacement.h.
References getLength(), and getOffset().
Definition at line 56 of file Replacement.h.
1.8.6