Home
last modified time | relevance | path

Searched refs:NewReplacements (Results 1 – 3 of 3) sorted by relevance

/external/clang/lib/Tooling/
DRefactoring.cpp82 auto NewReplacements = in formatAndApplyAllReplacements() local
84 if (!NewReplacements) { in formatAndApplyAllReplacements()
85 llvm::errs() << llvm::toString(NewReplacements.takeError()) << "\n"; in formatAndApplyAllReplacements()
88 Result = applyAllReplacements(*NewReplacements, Rewrite) && Result; in formatAndApplyAllReplacements()
/external/llvm-project/clang/lib/Tooling/
DRefactoring.cpp94 auto NewReplacements = in formatAndApplyAllReplacements() local
96 if (!NewReplacements) { in formatAndApplyAllReplacements()
97 llvm::errs() << llvm::toString(NewReplacements.takeError()) << "\n"; in formatAndApplyAllReplacements()
100 Result = applyAllReplacements(*NewReplacements, Rewrite) && Result; in formatAndApplyAllReplacements()
/external/llvm-project/clang-tools-extra/clang-change-namespace/
DChangeNamespace.cpp972 tooling::Replacements NewReplacements; in onEndOfTranslationUnit() local
992 addOrMergeReplacement(Deletion, &NewReplacements); in onEndOfTranslationUnit()
993 addOrMergeReplacement(Insertion, &NewReplacements); in onEndOfTranslationUnit()
1003 addOrMergeReplacement(Insertion, &NewReplacements); in onEndOfTranslationUnit()
1007 Replaces = Replaces.merge(NewReplacements); in onEndOfTranslationUnit()