Home
last modified time | relevance | path

Searched refs:AnnotatedLine (Results 1 – 6 of 6) sorted by relevance

/freebsd-9-stable/contrib/llvm/tools/clang/lib/Format/
DTokenAnnotator.h38 class AnnotatedLine {
40 AnnotatedLine(const UnwrappedLine &Line) in AnnotatedLine() function
64 Children.push_back(new AnnotatedLine(*I)); in AnnotatedLine()
72 ~AnnotatedLine() { in ~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);
[all …]
DFormat.cpp362 void format(unsigned FirstIndent, const AnnotatedLine *Line) { in format()
384 SmallVectorImpl<AnnotatedLine *>::const_iterator &I, in tryFitMultipleLinesInOne()
385 SmallVectorImpl<AnnotatedLine *>::const_iterator E) { in tryFitMultipleLinesInOne()
387 AnnotatedLine *TheLine = *I; in tryFitMultipleLinesInOne()
422 tryMergeSimplePPDirective(SmallVectorImpl<AnnotatedLine *>::const_iterator &I, in tryMergeSimplePPDirective()
423 SmallVectorImpl<AnnotatedLine *>::const_iterator E, in tryMergeSimplePPDirective()
437 SmallVectorImpl<AnnotatedLine *>::const_iterator &I, in tryMergeSimpleControlStatement()
438 SmallVectorImpl<AnnotatedLine *>::const_iterator E, unsigned Limit) { in tryMergeSimpleControlStatement()
447 AnnotatedLine &Line = **I; in tryMergeSimpleControlStatement()
464 tryMergeSimpleBlock(SmallVectorImpl<AnnotatedLine *>::const_iterator &I, in tryMergeSimpleBlock()
[all …]
DContinuationIndenter.h27 class AnnotatedLine; variable
44 LineState getInitialState(unsigned FirstIndent, const AnnotatedLine *Line,
299 const AnnotatedLine *Line;
DTokenAnnotator.cpp32 AnnotatingParser(const FormatStyle &Style, AnnotatedLine &Line, in AnnotatingParser()
852 AnnotatedLine &Line;
866 ExpressionParser(AnnotatedLine &Line) : Current(Line.First) { in ExpressionParser()
1015 TokenAnnotator::setCommentLineLevels(SmallVectorImpl<AnnotatedLine *> &Lines) { in setCommentLineLevels()
1016 const AnnotatedLine *NextNonCommentLine = NULL; in setCommentLineLevels()
1017 for (SmallVectorImpl<AnnotatedLine *>::reverse_iterator I = Lines.rbegin(), in setCommentLineLevels()
1030 void TokenAnnotator::annotate(AnnotatedLine &Line) { in annotate()
1031 for (SmallVectorImpl<AnnotatedLine *>::iterator I = Line.Children.begin(), in annotate()
1055 void TokenAnnotator::calculateFormattingInformation(AnnotatedLine &Line) { in calculateFormattingInformation()
1102 for (SmallVectorImpl<AnnotatedLine *>::iterator I = Line.Children.begin(), in calculateFormattingInformation()
[all …]
DFormatToken.h87 class AnnotatedLine; variable
361 SmallVector<AnnotatedLine *, 1> Children;
DContinuationIndenter.cpp69 const AnnotatedLine *Line, in getInitialState()