clang  16.0.0git
Namespaces | Functions
FixIt.h File Reference
#include "clang/AST/ASTContext.h"
Include dependency graph for FixIt.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.




StringRef clang::tooling::fixit::internal::getText (CharSourceRange Range, const ASTContext &Context)
 Returns the source-code text in the specified range. More...
CharSourceRange clang::tooling::fixit::internal::getSourceRange (const SourceRange &Range)
 Returns the token CharSourceRange corresponding to Range. More...
CharSourceRange clang::tooling::fixit::internal::getSourceRange (const SourceLocation &Loc)
 Returns the CharSourceRange of the token at Location Loc. More...
template<typename T >
CharSourceRange clang::tooling::fixit::internal::getSourceRange (const T &Node)
 Returns the CharSourceRange of an given Node. More...
template<typename T >
StringRef clang::tooling::fixit::getText (const T &Node, const ASTContext &Context)
 Returns a textual representation of Node. More...
template<typename T >
FixItHint clang::tooling::fixit::createRemoval (const T &Node)
template<typename D , typename S >
FixItHint clang::tooling::fixit::createReplacement (const D &Destination, const S &Source, const ASTContext &Context)
template<typename D >
FixItHint clang::tooling::fixit::createReplacement (const D &Destination, StringRef Source)