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

References

tools/clang/lib/Format/ContinuationIndenter.cpp
  104   return End->TotalLength - Tok.TotalLength + 1;
  104   return End->TotalLength - Tok.TotalLength + 1;
  110   return Tok.NextOperator->TotalLength - Tok.TotalLength;
  110   return Tok.NextOperator->TotalLength - Tok.TotalLength;
  373       (State.Column + State.Line->Last->TotalLength - Previous.TotalLength >
  373       (State.Column + State.Line->Last->TotalLength - Previous.TotalLength >
  645        (Previous.TotalLength - Previous.MatchingParen->TotalLength > 10)))
  645        (Previous.TotalLength - Previous.MatchingParen->TotalLength > 10)))
 1458           CurrentScopeOpener.TotalLength - Current.TotalLength - 1;
 1458           CurrentScopeOpener.TotalLength - Current.TotalLength - 1;
tools/clang/lib/Format/FormatToken.cpp
  147   assert(End->TotalLength >= Begin->TotalLength);
  147   assert(End->TotalLength >= Begin->TotalLength);
  148   return End->TotalLength - Begin->TotalLength + Begin->ColumnWidth;
  148   return End->TotalLength - Begin->TotalLength + Begin->ColumnWidth;
tools/clang/lib/Format/TokenAnnotator.cpp
 2189   Line.First->TotalLength =
 2243                                                   : LastOfChild.TotalLength + 1;
 2250       Current->TotalLength = Prev->TotalLength + Style.ColumnLimit;
 2250       Current->TotalLength = Prev->TotalLength + Style.ColumnLimit;
 2252       Current->TotalLength = Prev->TotalLength + Current->ColumnWidth +
 2252       Current->TotalLength = Prev->TotalLength + Current->ColumnWidth +
 3547                  << " Name=" << Tok->Tok.getName() << " L=" << Tok->TotalLength
tools/clang/lib/Format/UnwrappedLineFormatter.cpp
  218     Limit = TheLine->Last->TotalLength > Limit
  220                 : Limit - TheLine->Last->TotalLength;
  267                I[i + 1]->Last->TotalLength < Limit;
  272           Limit -= I[i + 1]->Last->TotalLength;
  319               TheLine->Last->TotalLength <= Style.ColumnLimit)
  419     if (1 + I[1]->Last->TotalLength > Limit)
  441     if (1 + I[1]->Last->TotalLength > Limit)
  498       Length += I[1 + NumStmts]->Last->TotalLength + 1; // 1 for the space.
  672     return 1 + I[1]->Last->TotalLength + 1 + I[2]->Last->TotalLength <= Limit;
  672     return 1 + I[1]->Last->TotalLength + 1 + I[2]->Last->TotalLength <= Limit;
  691     unsigned LengthA = A.Last->TotalLength + B.First->SpacesRequiredBefore;
  693       Tok->TotalLength += LengthA;
  801         Child->Last->TotalLength + State.Column + 2 > Style.ColumnLimit)
  812     State.Column += 1 + Child->Last->TotalLength;
 1116           TheLine.Last->TotalLength + Indent <= ColumnLimit ||