Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
clang 20.0.0git
RenamingAction.cpp File Reference

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

Go to the source code of this file.

Classes

class  clang::tooling::RenamingASTConsumer
 
class  clang::tooling::USRSymbolRenamer
 

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.
 
static void clang::tooling::convertChangesToFileReplacements (ArrayRef< AtomicChange > AtomicChanges, std::map< std::string, tooling::Replacements > *FileToReplaces)
 Takes each atomic change and inserts its replacements into the set of replacements that belong to the appropriate file.
 

Detailed Description

Provides an action to rename every symbol at a point.

Definition in file RenamingAction.cpp.