clang 20.0.0git
Classes
clang::tooling::detail Namespace Reference

Classes

class  TransformerImpl
 Implementation details of Transformer with type erasure around RewriteRule<T> as well as the corresponding consumers. More...
 
struct  type_identity
 
class  WithMetadataImpl
 Implementation when metadata is generated as a part of the rewrite. More...
 

Functions

template<typename T >
llvm::Error populateMetadata (const transformer::RewriteRuleWith< T > &Rule, size_t SelectedCase, const ast_matchers::MatchFinder::MatchResult &Match, TransformerResult< T > &Result)
 Runs the metadata generator on Rule and stuffs it into Result.
 

Function Documentation

◆ populateMetadata()

template<typename T >
llvm::Error clang::tooling::detail::populateMetadata ( const transformer::RewriteRuleWith< T > &  Rule,
size_t  SelectedCase,
const ast_matchers::MatchFinder::MatchResult Match,
TransformerResult< T > &  Result 
)

Runs the metadata generator on Rule and stuffs it into Result.

Definition at line 119 of file Transformer.h.

References clang::Result.