clang 20.0.0git
Public Member Functions | Static Public Member Functions | List of all members
clang::tooling::RenameOccurrences Class Referencefinal

#include "clang/Tooling/Refactoring/Rename/RenamingAction.h"

Inheritance diagram for clang::tooling::RenameOccurrences:
Inheritance graph
[legend]

Public Member Functions

const NamedDeclgetRenameDecl () const
 
- Public Member Functions inherited from clang::tooling::SourceChangeRefactoringRule
void invoke (RefactoringResultConsumer &Consumer, RefactoringRuleContext &Context) final
 Initiates and performs a specific refactoring action.
 
- Public Member Functions inherited from clang::tooling::RefactoringActionRuleBase
virtual ~RefactoringActionRuleBase ()
 
virtual void invoke (RefactoringResultConsumer &Consumer, RefactoringRuleContext &Context)=0
 Initiates and performs a specific refactoring action.
 

Static Public Member Functions

static Expected< RenameOccurrencesinitiate (RefactoringRuleContext &Context, SourceRange SelectionRange, std::string NewName)
 
static const RefactoringDescriptordescribe ()
 

Detailed Description

Definition at line 48 of file RenamingAction.h.

Member Function Documentation

◆ describe()

const RefactoringDescriptor & clang::tooling::RenameOccurrences::describe ( )
static

Definition at line 56 of file RenamingAction.cpp.

◆ getRenameDecl()

const NamedDecl * clang::tooling::RenameOccurrences::getRenameDecl ( ) const

Definition at line 77 of file RenamingAction.cpp.

◆ initiate()

Expected< RenameOccurrences > clang::tooling::RenameOccurrences::initiate ( RefactoringRuleContext Context,
SourceRange  SelectionRange,
std::string  NewName 
)
static

The documentation for this class was generated from the following files: