Lines Matching defs:AnnotatedLine
47 class AnnotatedLine {
49 AnnotatedLine(const UnwrappedLine &Line)
88 Children.push_back(new AnnotatedLine(Child));
102 ~AnnotatedLine() {
103 for (AnnotatedLine *Child : Children)
168 SmallVector<AnnotatedLine *, 0> Children;
207 AnnotatedLine(const AnnotatedLine &) = delete;
208 void operator=(const AnnotatedLine &) = delete;
224 void setCommentLineLevels(SmallVectorImpl<AnnotatedLine *> &Lines) const;
226 void annotate(AnnotatedLine &Line);
227 void calculateFormattingInformation(AnnotatedLine &Line) const;
231 unsigned splitPenalty(const AnnotatedLine &Line, const FormatToken &Tok,
236 bool spaceRequiredBetween(const AnnotatedLine &Line, const FormatToken &Left,
239 bool spaceRequiredBefore(const AnnotatedLine &Line,
242 bool mustBreakBefore(const AnnotatedLine &Line,
245 bool canBreakBefore(const AnnotatedLine &Line,
248 bool mustBreakForReturnType(const AnnotatedLine &Line) const;
250 void printDebugInfo(const AnnotatedLine &Line) const;
252 void calculateUnbreakableTailLengths(AnnotatedLine &Line) const;
254 void calculateArrayInitializerColumnList(AnnotatedLine &Line) const;
256 FormatToken *calculateInitializerColumnList(AnnotatedLine &Line,