clang 20.0.0git
|
Implementation when metadata is generated as a part of the rewrite. More...
#include "clang/Tooling/Transformer/Transformer.h"
Public Member Functions | |
WithMetadataImpl (transformer::RewriteRuleWith< T > R, std::function< void(llvm::Expected< TransformerResult< T > >)> Consumer) | |
Public Member Functions inherited from clang::tooling::detail::TransformerImpl | |
virtual | ~TransformerImpl ()=default |
void | onMatch (const ast_matchers::MatchFinder::MatchResult &Result) |
virtual std::vector< ast_matchers::internal::DynTypedMatcher > | buildMatchers () const =0 |
Additional Inherited Members | |
Static Protected Member Functions inherited from clang::tooling::detail::TransformerImpl | |
static llvm::Expected< llvm::SmallVector< AtomicChange, 1 > > | convertToAtomicChanges (const llvm::SmallVectorImpl< transformer::Edit > &Edits, const ast_matchers::MatchFinder::MatchResult &Result) |
Converts a set of Edit into a AtomicChange per file modified. | |
Implementation when metadata is generated as a part of the rewrite.
This happens when we have a RewriteRuleWith<T>
.
Definition at line 140 of file Transformer.h.
|
inlineexplicit |
Definition at line 145 of file Transformer.h.