reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

tools/clang/lib/Format/UnwrappedLineFormatter.cpp
  177     if (MergedLines > 0 && Style.ColumnLimit == 0)
  211     if (Style.ColumnLimit > 0 && Indent > Style.ColumnLimit)
  211     if (Style.ColumnLimit > 0 && Indent > Style.ColumnLimit)
  215         Style.ColumnLimit == 0 ? UINT_MAX : Style.ColumnLimit - Indent;
  215         Style.ColumnLimit == 0 ? UINT_MAX : Style.ColumnLimit - Indent;
  224         !Style.BraceWrapping.SplitEmptyFunction &&
  238         return !Style.BraceWrapping.SplitEmptyNamespace && EmptyBlock
  246         return !Style.BraceWrapping.SplitEmptyRecord && EmptyBlock
  254         Style.AllowShortFunctionsOnASingleLine == FormatStyle::SFS_All ||
  255         (Style.AllowShortFunctionsOnASingleLine >= FormatStyle::SFS_Empty &&
  257         (Style.AllowShortFunctionsOnASingleLine & FormatStyle::SFS_InlineOnly &&
  260     if (Style.CompactNamespaces) {
  303       return Style.AllowShortBlocksOnASingleLine != FormatStyle::SBS_Never
  313         Style.BraceWrapping.AfterControlStatement ==
  318       return (Style.ColumnLimit == 0 ||
  319               TheLine->Last->TotalLength <= Style.ColumnLimit)
  325       return (Style.BraceWrapping.AfterControlStatement ==
  336       if (Style.AllowShortBlocksOnASingleLine != FormatStyle::SBS_Never) {
  359       return !Style.BraceWrapping.AfterFunction ||
  361                       !Style.BraceWrapping.SplitEmptyRecord)
  367         Style.BraceWrapping.AfterFunction) {
  372       if (Limit <= 2 || (Style.ColumnLimit == 0 && containsMustBreak(TheLine)))
  378           (Style.AllowShortFunctionsOnASingleLine >= FormatStyle::SFS_Empty &&
  390       return Style.AllowShortIfStatementsOnASingleLine
  395       return Style.AllowShortLoopsOnASingleLine
  400       return Style.AllowShortCaseLabelsOnASingleLine
  429     if (Style.BraceWrapping.AfterControlStatement ==
  432         Style.AllowShortBlocksOnASingleLine == FormatStyle::SBS_Never)
  447     if (Style.AllowShortIfStatementsOnASingleLine != FormatStyle::SIS_Always) {
  514     if (Style.Language != FormatStyle::LK_Java &&
  532       if (Style.AllowShortBlocksOnASingleLine == FormatStyle::SBS_Never)
  536       if (!Style.AllowShortIfStatementsOnASingleLine &&
  538           !Style.BraceWrapping.AfterControlStatement &&
  541       if (!Style.AllowShortIfStatementsOnASingleLine &&
  543           Style.BraceWrapping.AfterControlStatement ==
  547       if (!Style.AllowShortLoopsOnASingleLine &&
  549           !Style.BraceWrapping.AfterControlStatement &&
  552       if (!Style.AllowShortLoopsOnASingleLine &&
  554           Style.BraceWrapping.AfterControlStatement ==
  574         Tok->SpacesRequiredBefore = Style.SpaceInEmptyBlock ? 1 : 0;
  626             Style.BraceWrapping.AfterControlStatement ==
  637       if (Limit <= 2 || (Style.ColumnLimit == 0 && containsMustBreak(*I)))
  641       if (Style.AllowShortBlocksOnASingleLine != FormatStyle::SBS_Never ||