Home
last modified time | relevance | path

Searched refs:AllowShortFunctionsOnASingleLine (Results 1 – 12 of 12) sorted by relevance

/llvm-project-15.0.7/clang/unittests/Format/
H A DFormatTestJS.cpp1003 Style.AllowShortFunctionsOnASingleLine = FormatStyle::SFS_Inline; in TEST_F()
1116 Style.AllowShortFunctionsOnASingleLine = FormatStyle::SFS_Inline; in TEST_F()
1131 Style.AllowShortFunctionsOnASingleLine = FormatStyle::SFS_All; in TEST_F()
1142 Style.AllowShortFunctionsOnASingleLine = FormatStyle::SFS_None; in TEST_F()
1164 Style.AllowShortFunctionsOnASingleLine = FormatStyle::SFS_Empty; in TEST_F()
1173 Style.AllowShortFunctionsOnASingleLine = FormatStyle::SFS_All; in TEST_F()
H A DDefinitionBlockSeparatorTest.cpp535 Style.AllowShortFunctionsOnASingleLine = FormatStyle::SFS_None; in TEST_F()
576 Style.AllowShortFunctionsOnASingleLine = FormatStyle::SFS_None; in TEST_F()
H A DFormatTest.cpp508 Style.AllowShortFunctionsOnASingleLine = FormatStyle::SFS_All; in TEST_F()
3222 Style.AllowShortFunctionsOnASingleLine = FormatStyle::SFS_All; in TEST_F()
3226 Style.AllowShortFunctionsOnASingleLine = FormatStyle::SFS_None; in TEST_F()
3987 ShortInlineFunctions.AllowShortFunctionsOnASingleLine = in TEST_F()
7177 Style.AllowShortFunctionsOnASingleLine = FormatStyle::SFS_None; in TEST_F()
7188 Style.AllowShortFunctionsOnASingleLine = FormatStyle::SFS_All; in TEST_F()
12836 DoNotMergeNoColumnLimit.AllowShortFunctionsOnASingleLine = in TEST_F()
13002 MergeInlineOnly.AllowShortFunctionsOnASingleLine = in TEST_F()
13100 Style.AllowShortFunctionsOnASingleLine = FormatStyle::SFS_All; in TEST_F()
13145 Style.AllowShortFunctionsOnASingleLine = FormatStyle::SFS_All; in TEST_F()
[all …]
H A DFormatTestJava.cpp609 Style.AllowShortFunctionsOnASingleLine = FormatStyle::SFS_Inline; in TEST_F()
H A DFormatTestCSharp.cpp1559 Style.AllowShortFunctionsOnASingleLine = FormatStyle::SFS_Inline; in TEST_F()
/llvm-project-15.0.7/libcxx/
H A D.clang-format11 AllowShortFunctionsOnASingleLine: true
/llvm-project-15.0.7/clang/include/clang/Format/
H A DFormat.h533 ShortFunctionStyle AllowShortFunctionsOnASingleLine; member
3867 AllowShortFunctionsOnASingleLine ==
3868 R.AllowShortFunctionsOnASingleLine &&
/llvm-project-15.0.7/clang/lib/Format/
H A DUnwrappedLineFormatter.cpp301 if (Style.AllowShortFunctionsOnASingleLine == FormatStyle::SFS_All) in tryFitMultipleLinesInOne()
303 if (Style.AllowShortFunctionsOnASingleLine >= FormatStyle::SFS_Empty && in tryFitMultipleLinesInOne()
308 if (Style.AllowShortFunctionsOnASingleLine & in tryFitMultipleLinesInOne()
531 (Style.AllowShortFunctionsOnASingleLine >= FormatStyle::SFS_Empty && in tryFitMultipleLinesInOne()
H A DFormat.cpp661 Style.AllowShortFunctionsOnASingleLine); in mapping()
1197 LLVMStyle.AllowShortFunctionsOnASingleLine = FormatStyle::SFS_All; in getLLVMStyle()
1442 GoogleStyle.AllowShortFunctionsOnASingleLine = FormatStyle::SFS_Empty; in getGoogleStyle()
1452 GoogleStyle.AllowShortFunctionsOnASingleLine = FormatStyle::SFS_Empty; in getGoogleStyle()
1469 GoogleStyle.AllowShortFunctionsOnASingleLine = FormatStyle::SFS_Empty; in getGoogleStyle()
1488 GoogleStyle.AllowShortFunctionsOnASingleLine = FormatStyle::SFS_Empty; in getGoogleStyle()
1547 ChromiumStyle.AllowShortFunctionsOnASingleLine = FormatStyle::SFS_Inline; in getChromiumStyle()
1561 MozillaStyle.AllowShortFunctionsOnASingleLine = FormatStyle::SFS_Inline; in getMozillaStyle()
1643 Style.AllowShortFunctionsOnASingleLine = FormatStyle::SFS_None; in getMicrosoftStyle()
H A DTokenAnnotator.cpp4267 return Style.AllowShortFunctionsOnASingleLine == FormatStyle::SFS_None || in mustBreakBefore()
4268 Style.AllowShortFunctionsOnASingleLine == FormatStyle::SFS_Empty || in mustBreakBefore()
4270 Style.AllowShortFunctionsOnASingleLine & in mustBreakBefore()
H A DContinuationIndenter.cpp408 (Style.AllowShortFunctionsOnASingleLine != FormatStyle::SFS_All || in mustBreak()
/llvm-project-15.0.7/clang/docs/
H A DClangFormatStyleOptions.rst962 **AllowShortFunctionsOnASingleLine** (``ShortFunctionStyle``) :versionbadge:`clang-format 3.5`
1657 `AllowShortFunctionsOnASingleLine` and constructor formatting options).