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

/external/clang/lib/Format/
H A DTokenAnnotator.h38 class AnnotatedLine { class in namespace:clang::format
40 AnnotatedLine(const UnwrappedLine &Line) function in class:clang::format::AnnotatedLine
65 Children.push_back(new AnnotatedLine(*I));
73 ~AnnotatedLine() {
82 SmallVector<AnnotatedLine *, 0> Children;
103 AnnotatedLine(const AnnotatedLine &) LLVM_DELETED_FUNCTION;
104 void operator=(const AnnotatedLine &) LLVM_DELETED_FUNCTION;
117 void setCommentLineLevels(SmallVectorImpl<AnnotatedLine *> &Lines);
119 void annotate(AnnotatedLine
[all...]
H A DContinuationIndenter.h28 class AnnotatedLine;
45 LineState getInitialState(unsigned FirstIndent, const AnnotatedLine *Line,
347 const AnnotatedLine *Line;
H A DFormat.cpp551 void format(unsigned FirstIndent, const AnnotatedLine *Line) {
573 SmallVectorImpl<AnnotatedLine *>::const_iterator I,
574 SmallVectorImpl<AnnotatedLine *>::const_iterator E) {
576 const AnnotatedLine *TheLine = *I;
646 tryMergeSimplePPDirective(SmallVectorImpl<AnnotatedLine *>::const_iterator I,
647 SmallVectorImpl<AnnotatedLine *>::const_iterator E,
661 SmallVectorImpl<AnnotatedLine *>::const_iterator I,
662 SmallVectorImpl<AnnotatedLine *>::const_iterator E, unsigned Limit) {
673 AnnotatedLine &Line = **I;
690 tryMergeSimpleBlock(SmallVectorImpl<AnnotatedLine *>
[all...]
H A DTokenAnnotator.cpp34 AnnotatingParser(const FormatStyle &Style, AnnotatedLine &Line,
989 AnnotatedLine &Line;
1003 ExpressionParser(AnnotatedLine &Line) : Current(Line.First) {
1162 TokenAnnotator::setCommentLineLevels(SmallVectorImpl<AnnotatedLine *> &Lines) {
1163 const AnnotatedLine *NextNonCommentLine = nullptr;
1164 for (SmallVectorImpl<AnnotatedLine *>::reverse_iterator I = Lines.rbegin(),
1177 void TokenAnnotator::annotate(AnnotatedLine &Line) {
1178 for (SmallVectorImpl<AnnotatedLine *>::iterator I = Line.Children.begin(),
1239 void TokenAnnotator::calculateFormattingInformation(AnnotatedLine &Line) {
1240 for (SmallVectorImpl<AnnotatedLine *>
[all...]
H A DFormatToken.h96 class AnnotatedLine;
395 SmallVector<AnnotatedLine *, 1> Children;
H A DContinuationIndenter.cpp70 const AnnotatedLine *Line,

Completed in 251 milliseconds