Home
last modified time | relevance | path

Searched refs:FileToReplacements (Results 1 – 8 of 8) sorted by relevance

/external/llvm-project/clang/unittests/Rename/
DClangRenameTest.h74 std::map<std::string, tooling::Replacements> FileToReplacements; in runClangRenameOnCode() local
76 FileToReplacements); in runClangRenameOnCode()
84 formatAndApplyAllReplacements(FileToReplacements, Context.Rewrite, "llvm"); in runClangRenameOnCode()
/external/llvm-project/clang-tools-extra/clang-change-namespace/
DChangeNamespace.cpp179 std::map<std::string, tooling::Replacements> *FileToReplacements) { in addReplacementOrDie() argument
181 auto Err = (*FileToReplacements)[std::string(R.getFilePath())].add(R); in addReplacementOrDie()
341 std::map<std::string, tooling::Replacements> *FileToReplacements, in ChangeNamespaceTool() argument
343 : FallbackStyle(FallbackStyle), FileToReplacements(*FileToReplacements), in ChangeNamespaceTool()
346 FileToReplacements->clear(); in ChangeNamespaceTool()
736 addReplacementOrDie(Start, End, "", SM, &FileToReplacements); in moveClassForwardDeclaration()
775 *Result.SourceManager, &FileToReplacements); in replaceQualifiedSymbolInDeclContext()
874 &FileToReplacements); in replaceQualifiedSymbolInDeclContext()
943 *Result.SourceManager, &FileToReplacements); in fixUsingShadowDecl()
962 auto &Replaces = FileToReplacements[FilePath]; in onEndOfTranslationUnit()
[all …]
DChangeNamespace.h53 std::map<std::string, tooling::Replacements> *FileToReplacements,
119 std::map<std::string, tooling::Replacements> &FileToReplacements; variable
/external/llvm-project/clang-tools-extra/unittests/clang-move/
DClangMoveTests.cpp226 std::map<std::string, tooling::Replacements> FileToReplacements; in runClangMoveOnCode() local
227 ClangMoveContext MoveContext = {Spec, FileToReplacements, WorkingDir, "LLVM", in runClangMoveOnCode()
238 formatAndApplyAllReplacements(FileToReplacements, Context.Rewrite, "llvm"); in runClangMoveOnCode()
241 for (const auto &It : FileToReplacements) { in runClangMoveOnCode()
/external/llvm-project/clang-tools-extra/clang-move/
DMove.cpp755 auto Err = Context->FileToReplacements[FilePath].add(RemoveReplacement); in removeDeclsInOldFiles()
762 for (auto &FileAndReplacements : Context->FileToReplacements) { in removeDeclsInOldFiles()
789 Code, Context->FileToReplacements[std::string(FilePath)], *Style); in removeDeclsInOldFiles()
795 Context->FileToReplacements[std::string(FilePath)] = *CleanReplacements; in removeDeclsInOldFiles()
832 Context->FileToReplacements[Context->Spec.NewHeader] = in moveDeclsToNewFiles()
838 Context->FileToReplacements[Context->Spec.NewCC] = in moveDeclsToNewFiles()
857 Context->FileToReplacements[FilePath] = tooling::Replacements(RemoveAll); in moveAll()
874 Context->FileToReplacements[std::string(NewFile)] = std::move(AllCode); in moveAll()
DMove.h85 std::map<std::string, tooling::Replacements> &FileToReplacements; member
/external/llvm-project/clang/tools/clang-rename/
DClangRename.cpp199 const auto &FileToReplacements = Tool.getReplacements(); in main() local
200 for (const auto &Entry : FileToReplacements) in main()
/external/llvm-project/clang-tools-extra/unittests/clang-change-namespace/
DChangeNamespaceTests.cpp38 std::map<std::string, tooling::Replacements> FileToReplacements; in runChangeNamespaceOnCode() local
41 /*AllowedSymbolPatterns*/ {}, &FileToReplacements); in runChangeNamespaceOnCode()
49 formatAndApplyAllReplacements(FileToReplacements, Context.Rewrite); in runChangeNamespaceOnCode()