clang 20.0.0git
Public Attributes | List of all members
clang::transformer::ASTEdit Struct Reference

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

Public Attributes

EditKind Kind = EditKind::Range
 
RangeSelector TargetRange
 
TextGenerator Replacement
 
TextGenerator Note
 
AnyGenerator Metadata
 

Detailed Description

Definition at line 107 of file RewriteRule.h.

Member Data Documentation

◆ Kind

EditKind clang::transformer::ASTEdit::Kind = EditKind::Range

Definition at line 108 of file RewriteRule.h.

◆ Metadata

AnyGenerator clang::transformer::ASTEdit::Metadata
Initial value:
= [](const ast_matchers::MatchFinder::MatchResult &)
return llvm::Expected<llvm::Any>(llvm::Any());
}

Definition at line 114 of file RewriteRule.h.

◆ Note

TextGenerator clang::transformer::ASTEdit::Note

Definition at line 111 of file RewriteRule.h.

◆ Replacement

TextGenerator clang::transformer::ASTEdit::Replacement

Definition at line 110 of file RewriteRule.h.

◆ TargetRange

RangeSelector clang::transformer::ASTEdit::TargetRange

Definition at line 109 of file RewriteRule.h.


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