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

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

Collaboration diagram for clang::transformer::ASTEdit:
Collaboration graph
[legend]

Public Attributes

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

Detailed Description

Definition at line 104 of file RewriteRule.h.

Member Data Documentation

◆ Kind

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

Definition at line 105 of file RewriteRule.h.

Referenced by clang::transformer::addInclude().

◆ Metadata

AnyGenerator clang::transformer::ASTEdit::Metadata
Initial value:

Definition at line 111 of file RewriteRule.h.

◆ Note

TextGenerator clang::transformer::ASTEdit::Note

Definition at line 108 of file RewriteRule.h.

◆ Replacement

TextGenerator clang::transformer::ASTEdit::Replacement

Definition at line 107 of file RewriteRule.h.

Referenced by clang::transformer::addInclude(), and clang::transformer::changeTo().

◆ TargetRange

RangeSelector clang::transformer::ASTEdit::TargetRange

Definition at line 106 of file RewriteRule.h.

Referenced by clang::transformer::addInclude(), and clang::transformer::changeTo().


The documentation for this struct was generated from the following file:
llvm::Expected
Definition: LLVM.h:41
MatchResult
MatchFinder::MatchResult MatchResult
Definition: RangeSelector.cpp:29