reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

Declarations

tools/clang/include/clang/Tooling/Core/Replacement.h
  328 llvm::Expected<std::string> applyAllReplacements(StringRef Code,

References

tools/clang/lib/Format/ContinuationIndenter.cpp
 1587   auto NewCode = applyAllReplacements(RawText, Fixes.first);
tools/clang/lib/Format/Format.cpp
 2237   auto NewCode = applyAllReplacements(Code, Replaces);
 2424     auto NewCode = applyAllReplacements(
tools/clang/lib/Index/CommentToXML.cpp
  596   auto FormattedStringDecl = applyAllReplacements(StringDecl, Replaces);
tools/clang/lib/Tooling/Refactoring/AtomicChange.cpp
  331       applyAllReplacements(Code, AllReplaces);
  341   ChangedCode = applyAllReplacements(*ChangedCode, HeaderSortingReplacements);
  354     ChangedCode = applyAllReplacements(*ChangedCode, FormatReplacements);
tools/clang/tools/clang-format/ClangFormat.cpp
  418   auto ChangedCode = tooling::applyAllReplacements(Code->getBuffer(), Replaces);
tools/clang/tools/extra/clang-change-namespace/ChangeNamespace.cpp
  975     auto ChangedCode = tooling::applyAllReplacements(Code, Replaces);
tools/clang/tools/extra/clang-include-fixer/tool/ClangIncludeFixer.cpp
  342         tooling::applyAllReplacements(Code->getBuffer(), *Replacements);
  441     auto ChangedCode = tooling::applyAllReplacements(Code->getBuffer(),
tools/clang/tools/extra/clangd/ClangdServer.cpp
  480   auto Changed = tooling::applyAllReplacements(Code, IncludeReplaces);
tools/clang/tools/extra/clangd/Format.cpp
  259       tooling::applyAllReplacements(OriginalCode, Incremental.Changes));
  342         cantFail(tooling::applyAllReplacements(FinalCode, *Pass.second));
tools/clang/tools/extra/clangd/SourceCode.cpp
 1007   return tooling::applyAllReplacements(InitialCode, Replacements);
tools/clang/tools/extra/clangd/XRefs.cpp
  909           tooling::applyAllReplacements(HI->Definition, Replacements))
tools/clang/tools/extra/clangd/refactor/tweaks/DefineInline.cpp
  222   auto QualifiedFunc = tooling::applyAllReplacements(
tools/clang/tools/extra/clangd/unittests/ClangdTests.cpp
  853   auto Changed = tooling::applyAllReplacements(Code, *Replaces);
tools/clang/tools/extra/clangd/unittests/FormatTests.cpp
   34   auto NewCode = tooling::applyAllReplacements(Code.code(), Merged);
tools/clang/tools/extra/clangd/unittests/RenameTests.cpp
   86         tooling::applyAllReplacements(Code.code(), *RenameResult);
tools/clang/tools/extra/unittests/clang-change-namespace/ChangeNamespaceTests.cpp
   56     auto ChangedCode = tooling::applyAllReplacements(Code, Replaces);
tools/clang/tools/extra/unittests/clang-tidy/ClangTidyTest.h
  157   auto Result = tooling::applyAllReplacements(Code, Fixes);
tools/clang/unittests/Format/CleanupTest.cpp
   31     auto Result = applyAllReplacements(Code, Replaces);
  312     auto Result = applyAllReplacements(Code, *CleanReplaces);
  325     auto Result = applyAllReplacements(Code, *FormattedReplaces);
tools/clang/unittests/Format/FormatTest.cpp
   49     auto Result = applyAllReplacements(Code, Replaces);
14384   auto Result = applyAllReplacements(Code, *FormattedReplaces);
14413   auto Result = applyAllReplacements(Code, *FormattedReplaces);
tools/clang/unittests/Format/FormatTestCSharp.cpp
   27     auto Result = applyAllReplacements(Code, Replaces);
tools/clang/unittests/Format/FormatTestComments.cpp
   52     auto Result = applyAllReplacements(Code, Replaces);
tools/clang/unittests/Format/FormatTestJS.cpp
   30     auto Result = applyAllReplacements(Code, Replaces);
tools/clang/unittests/Format/FormatTestJava.cpp
   27     auto Result = applyAllReplacements(Code, Replaces);
tools/clang/unittests/Format/FormatTestObjC.cpp
   53     auto Result = applyAllReplacements(Code, Replaces);
tools/clang/unittests/Format/FormatTestProto.cpp
   27     auto Result = applyAllReplacements(Code, Replaces);
tools/clang/unittests/Format/FormatTestRawStrings.cpp
   47     auto Result = applyAllReplacements(Code, Replaces);
tools/clang/unittests/Format/FormatTestSelective.cpp
   30     auto Result = applyAllReplacements(Code, Replaces);
tools/clang/unittests/Format/FormatTestTableGen.cpp
   27     auto Result = applyAllReplacements(Code, Replaces);
tools/clang/unittests/Format/FormatTestTextProto.cpp
   27     auto Result = applyAllReplacements(Code, Replaces);
tools/clang/unittests/Format/NamespaceEndCommentsFixerTest.cpp
   31     auto Result = applyAllReplacements(Code, Replaces);
tools/clang/unittests/Format/SortImportsTestJS.cpp
   28         applyAllReplacements(Code, sortIncludes(Style, Code, Ranges, FileName));
   30     auto Formatted = applyAllReplacements(
tools/clang/unittests/Format/SortImportsTestJava.cpp
   19     auto Sorted = applyAllReplacements(Code, Replaces);
   21     auto Result = applyAllReplacements(
tools/clang/unittests/Format/SortIncludesTest.cpp
   33     auto Sorted = applyAllReplacements(Code, Replaces);
   35     auto Result = applyAllReplacements(
tools/clang/unittests/Format/UsingDeclarationsSorterTest.cpp
   29     auto Result = applyAllReplacements(Code, Replaces);
tools/clang/unittests/Rename/ClangRenameTest.h
   98     auto ChangedCode = tooling::applyAllReplacements(Code, Replaces);
tools/clang/unittests/Tooling/HeaderIncludesTest.cpp
   29     auto Result = applyAllReplacements(Code, Replacements(*R));
   38     auto Result = applyAllReplacements(Code, Replaces);
tools/clang/unittests/Tooling/RefactoringTest.cpp
  921     auto AfterFirst = applyAllReplacements(Code, First);
  923     auto InSequenceRewrite = applyAllReplacements(*AfterFirst, Second);
  929     auto MergedRewrite = applyAllReplacements(Code, Merged);
  939     auto AfterFirst = applyAllReplacements(Code, First);
  941     auto InSequenceRewrite = applyAllReplacements(*AfterFirst, Second);
  943     auto MergedRewrite = applyAllReplacements(Code, Merged);
tools/clang/unittests/Tooling/RewriterTest.cpp
   46   auto Rewritten = applyAllReplacements("line1\nline2\nline3\nline4", Replaces);
tools/clang/unittests/Tooling/TransformerTest.cpp
   55   auto Formatted = applyAllReplacements(Code, Replacements);