clang 20.0.0git
Classes | Namespaces | Functions
RenamingAction.h File Reference

Provides an action to rename every symbol at a point. More...

#include "clang/Tooling/Refactoring.h"
#include "clang/Tooling/Refactoring/AtomicChange.h"
#include "clang/Tooling/Refactoring/RefactoringActionRules.h"
#include "clang/Tooling/Refactoring/RefactoringOptions.h"
#include "clang/Tooling/Refactoring/Rename/SymbolOccurrences.h"
#include "llvm/Support/Error.h"

Go to the source code of this file.

Classes

class  clang::tooling::RenamingAction
 
class  clang::tooling::RenameOccurrences
 
class  clang::tooling::QualifiedRenameRule
 
class  clang::tooling::QualifiedRenamingAction
 Rename all symbols identified by the given USRs. More...
 

Namespaces

namespace  clang
 The JSON file list parser is used to communicate input to InstallAPI.
 
namespace  clang::tooling
 

Functions

llvm::Expected< std::vector< AtomicChange > > clang::tooling::createRenameReplacements (const SymbolOccurrences &Occurrences, const SourceManager &SM, const SymbolName &NewName)
 Returns source replacements that correspond to the rename of the given symbol occurrences.
 

Detailed Description

Provides an action to rename every symbol at a point.

Definition in file RenamingAction.h.