clang 20.0.0git
|
An abstract interface that consumes the various refactoring results that can be produced by refactoring actions. More...
#include "clang/Tooling/Refactoring/RefactoringResultConsumer.h"
Public Member Functions | |
virtual | ~RefactoringResultConsumer () |
virtual void | handleError (llvm::Error Err)=0 |
Handles an initiation or an invication error. | |
virtual void | handle (AtomicChanges SourceReplacements) |
Handles the source replacements that are produced by a refactoring action. | |
virtual void | handle (SymbolOccurrences Occurrences) |
Handles the symbol occurrences that are found by an interactive refactoring action. | |
An abstract interface that consumes the various refactoring results that can be produced by refactoring actions.
A valid refactoring result must be handled by a handle
method.
Definition at line 24 of file RefactoringResultConsumer.h.
|
inlinevirtual |
Definition at line 26 of file RefactoringResultConsumer.h.
|
inlinevirtual |
Handles the source replacements that are produced by a refactoring action.
Definition at line 33 of file RefactoringResultConsumer.h.
|
inlinevirtual |
Handles the symbol occurrences that are found by an interactive refactoring action.
Definition at line 39 of file RefactoringResultConsumer.h.
|
pure virtual |
Handles an initiation or an invication error.
An initiation error typically has a DiagnosticError
payload that describes why initiation failed.
Referenced by clang::tooling::internal::invokeRuleAfterValidatingRequirements().