Home
last modified time | relevance | path

Searched refs:NewNames (Results 1 – 5 of 5) sorted by relevance

/llvm-project-15.0.7/clang/lib/Tooling/Refactoring/Rename/
H A DRenamingAction.cpp186 const std::vector<std::string> &NewNames, in RenamingASTConsumer() argument
191 : NewNames(NewNames), PrevNames(PrevNames), USRList(USRList), in RenamingASTConsumer()
195 for (unsigned I = 0; I < NewNames.size(); ++I) { in HandleTranslationUnit()
200 HandleOneRename(Context, NewNames[I], PrevNames[I], USRList[I]); in HandleTranslationUnit()
234 const std::vector<std::string> &NewNames, &PrevNames; member in clang::tooling::RenamingASTConsumer
246 USRSymbolRenamer(const std::vector<std::string> &NewNames, in USRSymbolRenamer() argument
249 : NewNames(NewNames), USRList(USRList), FileToReplaces(FileToReplaces) { in USRSymbolRenamer()
250 assert(USRList.size() == NewNames.size()); in USRSymbolRenamer()
254 for (unsigned I = 0; I < NewNames.size(); ++I) { in HandleTranslationUnit()
258 USRList[I], NewNames[I], Context.getTranslationUnitDecl()); in HandleTranslationUnit()
[all …]
/llvm-project-15.0.7/clang/include/clang/Tooling/Refactoring/Rename/
H A DRenamingAction.h31 RenamingAction(const std::vector<std::string> &NewNames,
36 : NewNames(NewNames), PrevNames(PrevNames), USRList(USRList), in NewNames() function
42 const std::vector<std::string> &NewNames, &PrevNames;
101 const std::vector<std::string> &NewNames, in QualifiedRenamingAction() argument
104 : NewNames(NewNames), USRList(USRList), FileToReplaces(FileToReplaces) {} in QualifiedRenamingAction()
110 const std::vector<std::string> &NewNames;
/llvm-project-15.0.7/clang/tools/clang-rename/
H A DClangRename.cpp80 NewNames("new-name", cl::desc("The new name to change the symbol to."), variable
127 NewNames.push_back(Info.NewName); in main()
132 if (NewNames.empty()) { in main()
148 for (const auto &NewName : NewNames) { in main()
156 if (SymbolOffsets.size() + QualifiedNames.size() != NewNames.size()) { in main()
159 << ") must be equal to number of new names(" << NewNames.size() in main()
184 tooling::RenamingAction RenameAction(NewNames, PrevNames, USRList, in main()
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/bugprone/
H A DInfiniteLoopCheck.cpp112 std::string NewNames = getCondVarNames(Child); in getCondVarNames() local
113 if (!Result.empty() && !NewNames.empty()) in getCondVarNames()
115 Result += NewNames; in getCondVarNames()
/llvm-project-15.0.7/clang/unittests/Rename/
H A DClangRenameTest.h73 std::vector<std::string> NewNames = {std::string(NewName)}; in runClangRenameOnCode() local
75 tooling::QualifiedRenamingAction RenameAction(NewNames, USRList, in runClangRenameOnCode()