clang API Documentation

Public Member Functions
clang::tooling::Range Class Reference

A source range independent of the SourceManager. More...

#include <Replacement.h>

List of all members.

Public Member Functions

 Range ()
 Range (unsigned Offset, unsigned Length)
unsigned getOffset () const
 Accessors.
unsigned getLength () const
Range Predicates

Whether this range overlaps with RHS or not.

bool overlapsWith (Range RHS) const
bool contains (Range RHS) const
 Whether this range contains RHS or not.

Detailed Description

A source range independent of the SourceManager.

Definition at line 35 of file Replacement.h.


Constructor & Destructor Documentation

Definition at line 37 of file Replacement.h.

clang::tooling::Range::Range ( unsigned  Offset,
unsigned  Length 
) [inline]

Definition at line 38 of file Replacement.h.


Member Function Documentation

bool clang::tooling::Range::contains ( Range  RHS) const [inline]

Whether this range contains RHS or not.

Definition at line 54 of file Replacement.h.

Definition at line 49 of file Replacement.h.


The documentation for this class was generated from the following file: