Home
last modified time | relevance | path

Searched refs:sortIncludes (Results 1 – 9 of 9) sorted by relevance

/llvm-project-15.0.7/clang/unittests/Format/
H A DSortImportsTestJava.cpp17 auto Replaces = sortIncludes(FmtStyle, Code, Ranges, "input.java"); in sort()
341 sortIncludes(FmtStyle, Code, GetCodeRange(Code), "input.java").empty()); in TEST_F()
348 sortIncludes(FmtStyle, Code, GetCodeRange(Code), "input.java").empty()); in TEST_F()
H A DSortIncludesTest.cpp31 auto Replaces = sortIncludes(FmtStyle, Code, Ranges, FileName); in sort()
48 sortIncludes(FmtStyle, Code, GetCodeRange(Code), "input.cpp", &Cursor); in newCursor()
167 EXPECT_TRUE(sortIncludes(FmtStyle, Code, GetCodeRange(Code), "a.cc").empty()); in TEST_F()
176 sortIncludes(FmtStyle, Code, GetCodeRange(Code), "a/extra_action.cc") in TEST_F()
942 auto Replaces = sortIncludes(FmtStyle, Code, Ranges, "input.cpp"); in TEST_F()
H A DSortImportsTestJS.cpp28 applyAllReplacements(Code, sortIncludes(Style, Code, Ranges, FileName)); in sort()
/llvm-project-15.0.7/clang/tools/clang-format-vs/ClangFormat/
H A DClangFormatPackage.cs37 private bool sortIncludes = false; field in LLVM.ClangFormat.OptionPageGrid
174 get { return sortIncludes; }
175 set { sortIncludes = value; }
/llvm-project-15.0.7/clang/lib/Tooling/Refactoring/
H A DAtomicChange.cpp345 Replacements HeaderSortingReplacements = format::sortIncludes( in applyAtomicChanges()
/llvm-project-15.0.7/clang/tools/clang-format/
H A DClangFormat.cpp476 Replacements Replaces = sortIncludes(*FormatStyle, Code->getBuffer(), Ranges, in format()
/llvm-project-15.0.7/clang/include/clang/Format/
H A DFormat.h4112 tooling::Replacements sortIncludes(const FormatStyle &Style, StringRef Code,
/llvm-project-15.0.7/clang-tools-extra/clangd/
H A DClangdServer.cpp489 format::sortIncludes(Style, Code, Ranges, File); in formatFile()
/llvm-project-15.0.7/clang/lib/Format/
H A DFormat.cpp3043 tooling::Replacements sortIncludes(const FormatStyle &Style, StringRef Code, in sortIncludes() function
3091 return sortIncludes(Style, Code, Ranges, FileName); in formatReplacements()