clang 20.0.0git
|
Namespaces | |
namespace | internal |
Functions | |
template<typename T > | |
StringRef | getText (const T &Node, const ASTContext &Context) |
Returns a textual representation of Node . | |
template<typename T > | |
FixItHint | createRemoval (const T &Node) |
template<typename D , typename S > | |
FixItHint | createReplacement (const D &Destination, const S &Source, const ASTContext &Context) |
template<typename D > | |
FixItHint | createReplacement (const D &Destination, StringRef Source) |
Definition at line 56 of file FixIt.h.
References clang::FixItHint::CreateRemoval(), clang::tooling::fixit::internal::getSourceRange(), and Node.
FixItHint clang::tooling::fixit::createReplacement | ( | const D & | Destination, |
const S & | Source, | ||
const ASTContext & | Context | ||
) |
Definition at line 62 of file FixIt.h.
References clang::FixItHint::CreateReplacement(), clang::tooling::fixit::internal::getSourceRange(), and getText().
FixItHint clang::tooling::fixit::createReplacement | ( | const D & | Destination, |
StringRef | Source | ||
) |
Definition at line 70 of file FixIt.h.
References clang::FixItHint::CreateReplacement(), and clang::tooling::fixit::internal::getSourceRange().
StringRef clang::tooling::fixit::getText | ( | const T & | Node, |
const ASTContext & | Context | ||
) |
Returns a textual representation of Node
.
Definition at line 50 of file FixIt.h.
References clang::tooling::fixit::internal::getSourceRange(), clang::tooling::fixit::internal::getText(), and Node.
Referenced by createReplacement().