Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 711788 | Differences between
and this patch

Collapse All | Expand All

(-)a/src/plugins/clangformat/clangformatutils.cpp (-1 / +4 lines)
Lines 60-66 static clang::format::FormatStyle qtcStyle() Link Here
60
    style.AllowShortBlocksOnASingleLine = false;
60
    style.AllowShortBlocksOnASingleLine = false;
61
    style.AllowShortCaseLabelsOnASingleLine = false;
61
    style.AllowShortCaseLabelsOnASingleLine = false;
62
    style.AllowShortFunctionsOnASingleLine = FormatStyle::SFS_Inline;
62
    style.AllowShortFunctionsOnASingleLine = FormatStyle::SFS_Inline;
63
#if LLVM_VERSION_MAJOR >= 9
64
    style.AllowShortIfStatementsOnASingleLine = FormatStyle::SIS_Never;
65
#else
63
    style.AllowShortIfStatementsOnASingleLine = false;
66
    style.AllowShortIfStatementsOnASingleLine = false;
67
#endif
64
    style.AllowShortLoopsOnASingleLine = false;
68
    style.AllowShortLoopsOnASingleLine = false;
65
    style.AlwaysBreakAfterReturnType = FormatStyle::RTBS_None;
69
    style.AlwaysBreakAfterReturnType = FormatStyle::RTBS_None;
66
    style.AlwaysBreakBeforeMultilineStrings = false;
70
    style.AlwaysBreakBeforeMultilineStrings = false;
67
- 

Return to bug 711788