Home | History | Annotate | Download | only in Format

Lines Matching refs:Line

31   LT_ObjCDecl, // An @interface, @implementation, or @protocol line.
33 LT_ObjCProperty, // An @property line.
41 AnnotatedLine(const UnwrappedLine &Line)
42 : First(Line.Tokens.front().Tok), Level(Line.Level),
43 InPPDirective(Line.InPPDirective),
44 MustBeDeclaration(Line.MustBeDeclaration), MightBeFunctionDecl(false),
47 assert(!Line.Tokens.empty());
54 for (std::list<UnwrappedLineNode>::const_iterator I = ++Line.Tokens.begin(),
55 E = Line.Tokens.end();
83 /// \c true if this line starts with the given tokens in order, ignoring
89 /// \c true if this line looks like a function definition instead of a
93 // FIXME: Line.Last points to other characters than tok::semi
110 /// \c True if this line should be formatted, i.e. intersects directly or
114 /// \c True if the leading empty lines of this line intersect with one of the
118 /// \c True if a one of this line's children intersects with an input range.
147 /// subsequent line.
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);