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

Declarations

tools/clang/include/clang/Format/Format.h
 2282 tooling::Replacements reformat(const FormatStyle &Style, StringRef Code,

References

tools/clang/lib/Format/Format.cpp
 2269     return reformat(Style, Code, Ranges, FileName);
 2467   auto Result = reformat(Style, Code, Ranges, FileName, &Status);
tools/clang/lib/Index/CommentToXML.cpp
  595       reformat(Style, StringDecl, tooling::Range(Offset, Length), "xmldecl.xd");
tools/clang/lib/Tooling/Refactoring/AtomicChange.cpp
  353         format::reformat(Spec.Style, *ChangedCode, FormatRanges, FilePath);
tools/clang/tools/clang-format/ClangFormat.cpp
  427       reformat(*FormatStyle, *ChangedCode, Ranges, AssumedFileName, &Status);
tools/clang/tools/extra/clangd/ClangdServer.cpp
  484   return IncludeReplaces.merge(format::reformat(
tools/clang/tools/extra/clangd/Format.cpp
  288   for (const tooling::Replacement &R : format::reformat(
tools/clang/tools/extra/clangd/XRefs.cpp
  906   auto Replacements = format::reformat(
tools/clang/tools/extra/unittests/clang-change-namespace/ChangeNamespaceTests.cpp
   54     tooling::Replacements Replaces = format::reformat(
tools/clang/unittests/Format/FormatTest.cpp
   42         reformat(Style, Code, Ranges, "<stdin>", &Status);
tools/clang/unittests/Format/FormatTestCSharp.cpp
   26     tooling::Replacements Replaces = reformat(Style, Code, Ranges);
tools/clang/unittests/Format/FormatTestComments.cpp
   45         reformat(Style, Code, Ranges, "<stdin>", &Status);
tools/clang/unittests/Format/FormatTestJS.cpp
   28         reformat(Style, Code, Ranges, "<stdin>", &Status);
tools/clang/unittests/Format/FormatTestJava.cpp
   26     tooling::Replacements Replaces = reformat(Style, Code, Ranges);
tools/clang/unittests/Format/FormatTestObjC.cpp
   47         reformat(Style, Code, Ranges, "<stdin>", &Status);
tools/clang/unittests/Format/FormatTestProto.cpp
   26     tooling::Replacements Replaces = reformat(Style, Code, Ranges);
tools/clang/unittests/Format/FormatTestRawStrings.cpp
   40         reformat(Style, Code, Ranges, "<stdin>", &Status);
tools/clang/unittests/Format/FormatTestSelective.cpp
   28         reformat(Style, Code, Ranges, "<stdin>", &Status);
tools/clang/unittests/Format/FormatTestTableGen.cpp
   26     tooling::Replacements Replaces = reformat(Style, Code, Ranges);
tools/clang/unittests/Format/FormatTestTextProto.cpp
   26     tooling::Replacements Replaces = reformat(Style, Code, Ranges);
tools/clang/unittests/Format/SortImportsTestJS.cpp
   31         *Sorted, reformat(Style, *Sorted, Ranges, FileName));
tools/clang/unittests/Format/SortImportsTestJava.cpp
   22         *Sorted, reformat(FmtStyle, *Sorted, Ranges, "input.java"));
tools/clang/unittests/Format/SortIncludesTest.cpp
   36         *Sorted, reformat(FmtStyle, *Sorted, Ranges, FileName));
tools/clang/unittests/Rename/ClangRenameTest.h
   96     tooling::Replacements Replaces = format::reformat(
tools/clang/unittests/Tooling/TransformerTest.cpp
   54   const auto Replacements = format::reformat(Style, Code, Ranges);