class QualifiedRenamingAction

Declaration

class QualifiedRenamingAction { /* full declaration omitted */ };

Description

Rename all symbols identified by the given USRs.

Declared at: clang/include/clang/Tooling/Refactoring/Rename/RenamingAction.h:98

Member Variables

private const std::vector<std::string>& NewNames
New symbol names.
private const std::vector<std::vector<std::string>>& USRList
A list of USRs. Each element represents USRs of a symbol being renamed.
private std::map<std::string, tooling::Replacements>& FileToReplaces
A file path to replacements map.

Method Overview

  • public QualifiedRenamingAction(const std::vector<std::string> & NewNames, const std::vector<std::vector<std::string>> & USRList, std::map<std::string, tooling::Replacements> & FileToReplaces)
  • public std::unique_ptr<ASTConsumer> newASTConsumer()

Methods

QualifiedRenamingAction(
    const std::vector<std::string>& NewNames,
    const std::vector<std::vector<std::string>>&
        USRList,
    std::map<std::string, tooling::Replacements>&
        FileToReplaces)

Declared at: clang/include/clang/Tooling/Refactoring/Rename/RenamingAction.h:100

Parameters

const std::vector<std::string>& NewNames
const std::vector<std::vector<std::string>>& USRList
std::map<std::string, tooling::Replacements>& FileToReplaces

std::unique_ptr<ASTConsumer> newASTConsumer()

Declared at: clang/include/clang/Tooling/Refactoring/Rename/RenamingAction.h:106