/external/llvm-project/clang/lib/Tooling/Refactoring/Rename/ |
D | RenamingAction.cpp | 170 std::map<std::string, tooling::Replacements> *FileToReplaces) { in convertChangesToFileReplacements() argument 174 (*FileToReplaces)[std::string(Replace.getFilePath())].add(Replace); in convertChangesToFileReplacements() 189 std::map<std::string, tooling::Replacements> &FileToReplaces, in RenamingASTConsumer() argument 192 FileToReplaces(FileToReplaces), PrintLocations(PrintLocations) {} in RenamingASTConsumer() 230 convertChangesToFileReplacements(*Change, &FileToReplaces); in HandleOneRename() 236 std::map<std::string, tooling::Replacements> &FileToReplaces; member in clang::tooling::RenamingASTConsumer 248 std::map<std::string, tooling::Replacements> &FileToReplaces) in USRSymbolRenamer() argument 249 : NewNames(NewNames), USRList(USRList), FileToReplaces(FileToReplaces) { in USRSymbolRenamer() 259 convertChangesToFileReplacements(AtomicChanges, &FileToReplaces); in HandleTranslationUnit() 266 std::map<std::string, tooling::Replacements> &FileToReplaces; member in clang::tooling::USRSymbolRenamer [all …]
|
/external/llvm-project/clang/include/clang/Tooling/Refactoring/Rename/ |
D | RenamingAction.h | 35 std::map<std::string, tooling::Replacements> &FileToReplaces, 38 FileToReplaces(FileToReplaces), PrintLocations(PrintLocations) {} in NewNames() 45 std::map<std::string, tooling::Replacements> &FileToReplaces; variable 104 std::map<std::string, tooling::Replacements> &FileToReplaces) in QualifiedRenamingAction() argument 105 : NewNames(NewNames), USRList(USRList), FileToReplaces(FileToReplaces) {} in QualifiedRenamingAction() 117 std::map<std::string, tooling::Replacements> &FileToReplaces; variable
|
/external/llvm-project/clang/lib/Tooling/ |
D | Refactoring.cpp | 33 return FileToReplaces; in getReplacements() 60 Rewrite.getSourceMgr().getFileManager(), FileToReplaces)) in applyAllReplacements() 70 const std::map<std::string, Replacements> &FileToReplaces, in formatAndApplyAllReplacements() argument 77 Rewrite.getSourceMgr().getFileManager(), FileToReplaces)) { in formatAndApplyAllReplacements()
|
D | RefactoringCallbacks.cpp | 28 std::map<std::string, Replacements> &FileToReplaces) in ASTMatchRefactorer() argument 29 : FileToReplaces(FileToReplaces) {} in ASTMatchRefactorer() 53 Refactoring.FileToReplaces[std::string(Replacement.getFilePath())] in HandleTranslationUnit()
|
/external/llvm-project/clang/include/clang/Tooling/ |
D | Refactoring.h | 71 std::map<std::string, Replacements> FileToReplaces; 93 const std::map<std::string, Replacements> &FileToReplaces,
|
D | RefactoringCallbacks.h | 56 std::map<std::string, Replacements> &FileToReplaces); 73 std::map<std::string, Replacements> &FileToReplaces; variable
|
/external/llvm-project/clang/unittests/Tooling/ |
D | RefactoringTest.cpp | 530 std::map<std::string, Replacements> FileToReplaces; in TEST_F() local 531 FileToReplaces[std::string(File1)] = toReplacements( in TEST_F() 536 FileToReplaces[std::string(File2)] = toReplacements( in TEST_F() 542 formatAndApplyAllReplacements(FileToReplaces, Context.Rewrite, in TEST_F() 1035 std::map<std::string, Replacements> FileToReplaces; in TEST() local 1048 FileToReplaces[std::string(Path1)] = Replacements(); in TEST() 1049 FileToReplaces[std::string(Path2)] = Replacements(); in TEST() 1050 FileToReplaces = groupReplacementsByFile(FileMgr, FileToReplaces); in TEST() 1051 EXPECT_EQ(1u, FileToReplaces.size()); in TEST() 1052 EXPECT_EQ(Path1, FileToReplaces.begin()->first); in TEST() [all …]
|
/external/clang/lib/Tooling/ |
D | Refactoring.cpp | 70 auto FileToReplaces = groupReplacementsByFile(Replaces); in formatAndApplyAllReplacements() local 73 for (const auto &FileAndReplaces : FileToReplaces) { in formatAndApplyAllReplacements()
|
/external/clang/lib/Tooling/Core/ |
D | Replacement.cpp | 432 std::map<std::string, Replacements> FileToReplaces; in groupReplacementsByFile() local 434 FileToReplaces[Replace.getFilePath()].insert(Replace); in groupReplacementsByFile() 436 return FileToReplaces; in groupReplacementsByFile()
|
/external/llvm-project/clang/include/clang/Tooling/Core/ |
D | Replacement.h | 356 const std::map<std::string, Replacements> &FileToReplaces);
|
/external/llvm-project/clang/lib/Tooling/Core/ |
D | Replacement.cpp | 613 const std::map<std::string, Replacements> &FileToReplaces) { in groupReplacementsByFile() argument 616 for (const auto &Entry : FileToReplaces) { in groupReplacementsByFile()
|