Home
last modified time | relevance | path

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

/llvm-project-15.0.7/clang/lib/Format/
H A DWhitespaceManager.h43 bool UseCRLF) in WhitespaceManager() argument
44 : SourceMgr(SourceMgr), Style(Style), UseCRLF(UseCRLF) {} in WhitespaceManager()
46 bool useCRLF() const { return UseCRLF; } in useCRLF()
353 bool UseCRLF; variable
H A DDefinitionBlockSeparator.cpp75 Style.UseCRLF) in separateBlocks()
76 : Style.UseCRLF); in separateBlocks()
H A DBreakableToken.h362 const FormatStyle &Style, bool UseCRLF);
H A DBreakableToken.cpp369 encoding::Encoding Encoding, const FormatStyle &Style, bool UseCRLF) in BreakableBlockComment() argument
379 .split(Lines, UseCRLF ? "\r\n" : "\n"); in BreakableBlockComment()
H A DWhitespaceManager.cpp1429 if (UseCRLF) { in appendNewlineText()
1446 Text.append(UseCRLF ? "\\\r\n" : "\\\n"); in appendEscapedNewlineText()
H A DFormat.cpp903 IO.mapOptional("UseCRLF", Style.UseCRLF); in mapping()
1294 LLVMStyle.UseCRLF = false; in getLLVMStyle()
2037 Style.UseCRLF) in analyze()
2038 : Style.UseCRLF); in analyze()
/llvm-project-15.0.7/clang/include/clang/Format/
H A DFormat.h3843 bool UseCRLF; member
3991 UseTab == R.UseTab && UseCRLF == R.UseCRLF &&
/llvm-project-15.0.7/clang/unittests/Format/
H A DFormatTest.cpp20092 CHECK_PARSE_BOOL(UseCRLF); in TEST_F()
22456 style.UseCRLF = false; in TEST_F()
22468 style.UseCRLF = true; in TEST_F()
22482 style.UseCRLF = false; in TEST_F()
22496 style.UseCRLF = true; in TEST_F()
22512 style.UseCRLF = false; in TEST_F()
22526 style.UseCRLF = true; in TEST_F()
/llvm-project-15.0.7/clang/docs/
H A DClangFormatStyleOptions.rst2426 or ``\n``). ``UseCRLF`` is only used as a fallback if none can be derived.
4554 **UseCRLF** (``Boolean``) :versionbadge:`clang-format 10`