reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
1091 TheLine.Level > RangeMinLevel || 1092 (TheLine.Level == RangeMinLevel && !PreviousRBrace && 1093 !TheLine.startsWith(tok::r_brace)); 1096 Indent != TheLine.First->OriginalColumn; 1097 bool ShouldFormat = TheLine.Affected || FixIndentation; 1100 if (ShouldFormat && TheLine.Type == LT_Invalid && Status) { 1103 SourceMgr.getSpellingLineNumber(TheLine.First->Tok.getLocation()); 1106 if (ShouldFormat && TheLine.Type != LT_Invalid) { 1109 formatFirstToken(TheLine, PreviousLine, Lines, Indent, 1114 unsigned ColumnLimit = getColumnLimit(TheLine.InPPDirective, NextLine); 1116 TheLine.Last->TotalLength + Indent <= ColumnLimit || 1117 (TheLine.Type == LT_ImportStatement && 1121 TheLine.InPPDirective); // don't split #regions in C# 1124 .formatLine(TheLine, NextStartColumn + Indent, 1128 .formatLine(TheLine, NextStartColumn + Indent, 1132 .formatLine(TheLine, NextStartColumn + Indent, 1134 RangeMinLevel = std::min(RangeMinLevel, TheLine.Level); 1138 if (TheLine.ChildrenAffected) 1139 for (const FormatToken *Tok = TheLine.First; Tok; Tok = Tok->Next) 1146 TheLine.First->NewlinesBefore > 0 || TheLine.First->IsFirst; 1146 TheLine.First->NewlinesBefore > 0 || TheLine.First->IsFirst; 1148 IndentTracker.adjustToUnmodifiedLine(TheLine); 1152 TheLine.LeadingEmptyLinesAffected); 1155 formatFirstToken(TheLine, PreviousLine, Lines, 1156 TheLine.First->OriginalColumn, 1157 TheLine.First->OriginalColumn); 1159 Whitespaces->addUntouchableToken(*TheLine.First, 1160 TheLine.InPPDirective); 1163 for (FormatToken *Tok = TheLine.First->Next; Tok; Tok = Tok->Next) 1164 Whitespaces->addUntouchableToken(*Tok, TheLine.InPPDirective); 1170 markFinalized(TheLine.First); 1171 PreviousLine = &TheLine;