Lines Matching defs:AnnotatedLine
38 class AnnotatedLine {
40 AnnotatedLine(const UnwrappedLine &Line)
64 Children.push_back(new AnnotatedLine(*I));
72 ~AnnotatedLine() {
81 SmallVector<AnnotatedLine *, 0> Children;
92 AnnotatedLine(const AnnotatedLine &) LLVM_DELETED_FUNCTION;
93 void operator=(const AnnotatedLine &) LLVM_DELETED_FUNCTION;
106 void setCommentLineLevels(SmallVectorImpl<AnnotatedLine *> &Lines);
108 void annotate(AnnotatedLine &Line);
109 void calculateFormattingInformation(AnnotatedLine &Line);
113 unsigned splitPenalty(const AnnotatedLine &Line, const FormatToken &Tok,
116 bool spaceRequiredBetween(const AnnotatedLine &Line, const FormatToken &Left,
119 bool spaceRequiredBefore(const AnnotatedLine &Line, const FormatToken &Tok);
121 bool mustBreakBefore(const AnnotatedLine &Line, const FormatToken &Right);
123 bool canBreakBefore(const AnnotatedLine &Line, const FormatToken &Right);
125 void printDebugInfo(const AnnotatedLine &Line);
127 void calculateUnbreakableTailLengths(AnnotatedLine &Line);