clang 20.0.0git
Namespaces | Functions
FixIt.h File Reference
#include "clang/AST/ASTContext.h"

Go to the source code of this file.

Namespaces

namespace  clang
 The JSON file list parser is used to communicate input to InstallAPI.
 
namespace  clang::tooling
 
namespace  clang::tooling::fixit
 
namespace  clang::tooling::fixit::internal
 

Functions

StringRef clang::tooling::fixit::internal::getText (CharSourceRange Range, const ASTContext &Context)
 
CharSourceRange clang::tooling::fixit::internal::getSourceRange (const SourceRange &Range)
 Returns the token CharSourceRange corresponding to Range.
 
CharSourceRange clang::tooling::fixit::internal::getSourceRange (const SourceLocation &Loc)
 Returns the CharSourceRange of the token at Location Loc.
 
template<typename T >
CharSourceRange clang::tooling::fixit::internal::getSourceRange (const T &Node)
 Returns the CharSourceRange of an given Node.
 
template<typename T >
StringRef clang::tooling::fixit::getText (const T &Node, const ASTContext &Context)
 Returns a textual representation of Node.
 
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)