clang  3.7.0
Public Member Functions | List of all members
clang::tooling::Range Class Reference

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

#include <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 RHS or not.

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

Detailed Description

A source range independent of the SourceManager.

Definition at line 36 of file Replacement.h.

Constructor & Destructor Documentation

clang::tooling::Range::Range ( )
inline

Definition at line 38 of file Replacement.h.

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

Definition at line 39 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 55 of file Replacement.h.

unsigned clang::tooling::Range::getLength ( ) const
inline
unsigned clang::tooling::Range::getOffset ( ) const
inline
bool clang::tooling::Range::overlapsWith ( Range  RHS) const
inline

Definition at line 50 of file Replacement.h.


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