Home | History | Annotate | Download | only in Format

Lines Matching refs:AnnotatedLine

39 class AnnotatedLine {
41 AnnotatedLine(const UnwrappedLine &Line)
63 Children.push_back(new AnnotatedLine(Child));
71 ~AnnotatedLine() {
101 SmallVector<AnnotatedLine *, 0> Children;
123 AnnotatedLine(const AnnotatedLine &) = delete;
124 void operator=(const AnnotatedLine &) = delete;
149 void setCommentLineLevels(SmallVectorImpl<AnnotatedLine *> &Lines);
151 void annotate(AnnotatedLine &Line);
152 void calculateFormattingInformation(AnnotatedLine &Line);
156 unsigned splitPenalty(const AnnotatedLine &Line, const FormatToken &Tok,
159 bool spaceRequiredBetween(const AnnotatedLine &Line, const FormatToken &Left,
162 bool spaceRequiredBefore(const AnnotatedLine &Line, const FormatToken &Tok);
164 bool mustBreakBefore(const AnnotatedLine &Line, const FormatToken &Right);
166 bool canBreakBefore(const AnnotatedLine &Line, const FormatToken &Right);
168 bool mustBreakForReturnType(const AnnotatedLine &Line) const;
170 void printDebugInfo(const AnnotatedLine &Line);
172 void calculateUnbreakableTailLengths(AnnotatedLine &Line);