clang 20.0.0git
|
#include "clang/Tooling/Refactoring/Rename/RenamingAction.h"
Public Member Functions | |
const NamedDecl * | getRenameDecl () 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< RenameOccurrences > | initiate (RefactoringRuleContext &Context, SourceRange SelectionRange, std::string NewName) |
static const RefactoringDescriptor & | describe () |
Definition at line 48 of file RenamingAction.h.
|
static |
Definition at line 56 of file RenamingAction.cpp.
const NamedDecl * clang::tooling::RenameOccurrences::getRenameDecl | ( | ) | const |
Definition at line 77 of file RenamingAction.cpp.
|
static |
Definition at line 66 of file RenamingAction.cpp.
References clang::SourceRange::getBegin(), clang::tooling::getCanonicalSymbolDeclaration(), and clang::tooling::getNamedDeclAt().