Home
last modified time | relevance | path

Searched refs:reformat (Results 1 – 25 of 38) sorted by relevance

12

/llvm-project-15.0.7/clang/lib/Format/
H A DFormatInternal.h72 reformat(const FormatStyle &Style, StringRef Code,
H A DFormat.cpp3103 return reformat(Style, Code, Ranges, FileName); in formatReplacements()
3211 reformat(const FormatStyle &Style, StringRef Code, in reformat() function
3347 tooling::Replacements reformat(const FormatStyle &Style, StringRef Code, in reformat() function
3351 return internal::reformat(Style, Code, Ranges, in reformat()
3370 tooling::Replacements reformat(const FormatStyle &Style, StringRef Code, in reformat() function
3374 auto Result = reformat(Style, Code, Ranges, FileName, &Status); in reformat()
/llvm-project-15.0.7/clang/tools/clang-format/fuzzer/
H A DClangFormatFuzzer.cpp22 auto Replaces = reformat(Style, s, clang::tooling::Range(0, s.size())); in LLVMFuzzerTestOneInput()
/llvm-project-15.0.7/clang/docs/
H A DLibFormat.rst21 The core routine of LibFormat is ``reformat()``:
25 tooling::Replacements reformat(const FormatStyle &Style, Lexer &Lex,
H A DClangFormat.rst140 selecting regions to reformat. The integration has the form of a `python`-file
299 lines. This is useful to reformat all the lines touched by a specific patch.
314 …-regex PATTERN custom pattern selecting file paths to reformat (case sensitive, overrides -…
315 …-iregex PATTERN custom pattern selecting file paths to reformat (case insensitive, overridde…
324 To reformat all the lines in the latest Mercurial/:program:`hg` commit, do:
/llvm-project-15.0.7/clang/unittests/Format/
H A DFormatTestTableGen.cpp26 tooling::Replacements Replaces = reformat(Style, Code, Ranges); in format()
H A DDefinitionBlockSeparatorTest.cpp29 tooling::Replacements Replaces = reformat(Style, Code, Ranges, "<stdin>"); in separateDefinitionBlocks()
176 EXPECT_EQ(reformat(Style, Code, Ranges, "<stdin>").size(), 0u); in TEST_F()
H A DFormatTestVerilog.cpp26 tooling::Replacements Replaces = reformat(Style, Code, Ranges); in format()
H A DSortImportsTestJS.cpp31 *Sorted, reformat(Style, *Sorted, Ranges, FileName)); in sort()
H A DFormatTestJson.cpp42 Replaces = reformat(Style, NewCode, Ranges); in format()
H A DFormatTestProto.cpp26 tooling::Replacements Replaces = reformat(Style, Code, Ranges); in format()
H A DSortImportsTestJava.cpp22 *Sorted, reformat(FmtStyle, *Sorted, Ranges, "input.java")); in sort()
H A DFormatTestSelective.cpp28 reformat(Style, Code, Ranges, "<stdin>", &Status); in format()
H A DFormatTestTextProto.cpp26 tooling::Replacements Replaces = reformat(Style, Code, Ranges); in format()
H A DFormatTestJava.cpp26 tooling::Replacements Replaces = reformat(Style, Code, Ranges); in format()
H A DSortIncludesTest.cpp37 *Sorted, reformat(FmtStyle, *Sorted, Ranges, FileName)); in sort()
H A DFormatTestObjC.cpp42 reformat(Style, Code, Ranges, "<stdin>", &Status); in format()
H A DFormatTestCSharp.cpp26 tooling::Replacements Replaces = reformat(Style, Code, Ranges); in format()
/llvm-project-15.0.7/clang/unittests/Rename/
H A DClangRenameTest.h96 tooling::Replacements Replaces = format::reformat( in format()
/llvm-project-15.0.7/llvm/docs/
H A DMarkedUpDisassembly.rst12 to introspect the instructions' textual representation or to reformat for a more
/llvm-project-15.0.7/clang/include/clang/Format/
H A DFormat.h4164 tooling::Replacements reformat(const FormatStyle &Style, StringRef Code,
4172 tooling::Replacements reformat(const FormatStyle &Style, StringRef Code,
/llvm-project-15.0.7/clang-tools-extra/clangd/
H A DFormat.cpp319 for (const tooling::Replacement &R : format::reformat( in formatIncremental()
/llvm-project-15.0.7/clang/lib/Tooling/Refactoring/
H A DAtomicChange.cpp359 format::reformat(Spec.Style, *ChangedCode, FormatRanges, FilePath); in applyAtomicChanges()
/llvm-project-15.0.7/clang/tools/clang-format/
H A DClangFormat.cpp497 reformat(*FormatStyle, *ChangedCode, Ranges, AssumedFileName, &Status); in format()
/llvm-project-15.0.7/clang-tools-extra/unittests/clang-change-namespace/
H A DChangeNamespaceTests.cpp54 tooling::Replacements Replaces = format::reformat( in format()

12