Searched refs:AnnotatedLine (Results 1 – 6 of 6) sorted by relevance
| /freebsd-9-stable/contrib/llvm/tools/clang/lib/Format/ |
| D | TokenAnnotator.h | 38 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 …]
|
| D | Format.cpp | 362 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 …]
|
| D | ContinuationIndenter.h | 27 class AnnotatedLine; variable 44 LineState getInitialState(unsigned FirstIndent, const AnnotatedLine *Line, 299 const AnnotatedLine *Line;
|
| D | TokenAnnotator.cpp | 32 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 …]
|
| D | FormatToken.h | 87 class AnnotatedLine; variable 361 SmallVector<AnnotatedLine *, 1> Children;
|
| D | ContinuationIndenter.cpp | 69 const AnnotatedLine *Line, in getInitialState()
|