clang 20.0.0git
|
A source-code transformation with accompanying metadata. More...
#include "clang/Tooling/Transformer/RewriteRule.h"
Public Attributes | |
SmallVector< Generator< MetadataT >, 1 > | Metadata |
Public Attributes inherited from clang::transformer::RewriteRuleBase | |
SmallVector< Case, 1 > | Cases |
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.
SmallVector<Generator<MetadataT>, 1> clang::transformer::RewriteRuleWith< MetadataT >::Metadata |
Definition at line 296 of file RewriteRule.h.
Referenced by clang::transformer::applyFirst(), and clang::transformer::detail::makeRule().