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

References

tools/clang/lib/Format/WhitespaceManager.cpp
  478   if (!Style.AlignConsecutiveMacros)
  545     unsigned ChangeMaxColumn = Style.ColumnLimit - LineLengthAfter;
  557   if (!Style.AlignConsecutiveAssignments)
  561       Style,
  577   if (!Style.AlignConsecutiveDeclarations)
  587       Style,
  626     if (Style.ColumnLimit == 0)
  628     else if (Style.ColumnLimit >= Changes[i].TokenLength)
  629       ChangeMaxColumn = Style.ColumnLimit - Changes[i].TokenLength;
  659             CommentColumn == NextColumn + Style.IndentWidth;
  663     if (!Style.AlignTrailingComments || FollowsRBraceInColumn0) {
  713   if (Style.AlignEscapedNewlines == FormatStyle::ENAS_DontAlign)
  716   bool AlignLeft = Style.AlignEscapedNewlines == FormatStyle::ENAS_Left;
  717   unsigned MaxEndOfLine = AlignLeft ? 0 : Style.ColumnLimit;
  726         MaxEndOfLine = AlignLeft ? 0 : Style.ColumnLimit;
  813   switch (Style.UseTab) {
  818     if (Style.TabWidth) {
  820           Style.TabWidth - WhitespaceStartColumn % Style.TabWidth;
  820           Style.TabWidth - WhitespaceStartColumn % Style.TabWidth;
  831       Text.append(Spaces / Style.TabWidth, '\t');
  832       Text.append(Spaces % Style.TabWidth, ' ');
  840       unsigned Indentation = IndentLevel * Style.IndentWidth;
  845       if (Style.TabWidth) {
  846         unsigned Tabs = Indentation / Style.TabWidth;
  848         Spaces -= Tabs * Style.TabWidth;
  854     if (WhitespaceStartColumn == 0 && Style.TabWidth) {
  855       unsigned Tabs = Spaces / Style.TabWidth;
  857       Spaces -= Tabs * Style.TabWidth;