Lines Matching defs:AnnotatedLine
49 class AnnotatedLine {
51 AnnotatedLine(const UnwrappedLine &Line)
90 Children.push_back(new AnnotatedLine(Child));
104 ~AnnotatedLine() {
105 for (AnnotatedLine *Child : Children)
175 SmallVector<AnnotatedLine *, 0> Children;
217 AnnotatedLine(const AnnotatedLine &) = delete;
218 void operator=(const AnnotatedLine &) = delete;
234 void setCommentLineLevels(SmallVectorImpl<AnnotatedLine *> &Lines) const;
236 void annotate(AnnotatedLine &Line);
237 void calculateFormattingInformation(AnnotatedLine &Line) const;
241 unsigned splitPenalty(const AnnotatedLine &Line, const FormatToken &Tok,
246 bool spaceRequiredBetween(const AnnotatedLine &Line, const FormatToken &Left,
249 bool spaceRequiredBefore(const AnnotatedLine &Line,
252 bool mustBreakBefore(const AnnotatedLine &Line,
255 bool canBreakBefore(const AnnotatedLine &Line,
258 bool mustBreakForReturnType(const AnnotatedLine &Line) const;
260 void printDebugInfo(const AnnotatedLine &Line) const;
262 void calculateUnbreakableTailLengths(AnnotatedLine &Line) const;
264 void calculateArrayInitializerColumnList(AnnotatedLine &Line) const;
266 FormatToken *calculateInitializerColumnList(AnnotatedLine &Line,