clang 20.0.0git
Public Attributes | List of all members
clang::transformer::RewriteRuleWith< MetadataT > Struct Template Reference

A source-code transformation with accompanying metadata. More...

#include "clang/Tooling/Transformer/RewriteRule.h"

Inheritance diagram for clang::transformer::RewriteRuleWith< MetadataT >:
Inheritance graph
[legend]

Public Attributes

SmallVector< Generator< MetadataT >, 1 > Metadata
 
- Public Attributes inherited from clang::transformer::RewriteRuleBase
SmallVector< Case, 1 > Cases
 

Detailed Description

template<typename MetadataT>
struct clang::transformer::RewriteRuleWith< MetadataT >

A source-code transformation with accompanying metadata.

When a case of the rule matches, the Transformer invokes the corresponding metadata generator and provides it alongside the edits.

Definition at line 295 of file RewriteRule.h.

Member Data Documentation

◆ Metadata

template<typename MetadataT >
SmallVector<Generator<MetadataT>, 1> clang::transformer::RewriteRuleWith< MetadataT >::Metadata

The documentation for this struct was generated from the following file: