clang  3.9.0
Functions
clang::tooling::fixit::internal Namespace Reference

Functions

StringRef getText (SourceRange Range, const ASTContext &Context)
 
SourceRange getSourceRange (const SourceRange &Range)
 Returns the SourceRange of a SourceRange. More...
 
SourceRange getSourceRange (const SourceLocation &Loc)
 Returns the SourceRange of the token at Location Loc. More...
 
template<typename T >
SourceRange getSourceRange (const T &Node)
 Returns the SourceRange of an given Node. More...
 

Function Documentation

SourceRange clang::tooling::fixit::internal::getSourceRange ( const SourceRange &  Range)
inline
SourceRange clang::tooling::fixit::internal::getSourceRange ( const SourceLocation &  Loc)
inline

Returns the SourceRange of the token at Location Loc.

Definition at line 37 of file FixIt.h.

template<typename T >
SourceRange clang::tooling::fixit::internal::getSourceRange ( const T &  Node)

Returns the SourceRange of an given Node.

Node is typically a 'Stmt', 'Expr' or a 'Decl'.

Definition at line 43 of file FixIt.h.

StringRef clang::tooling::fixit::internal::getText ( SourceRange  Range,
const ASTContext &  Context 
)