reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

tools/clang/lib/Format/Format.cpp
 1528     unsigned InitLine = CurrentLine, End = AnnotatedLines.size();
 1533       if (!AnnotatedLines[++CurrentLine]->startsWith(tok::l_brace)) {
 1534         NewLine = CurrentLine;
 1537     } else if (!AnnotatedLines[CurrentLine]->endsWith(tok::l_brace)) {
 1540     while (++CurrentLine < End) {
 1541       if (AnnotatedLines[CurrentLine]->startsWith(tok::r_brace))
 1544       if (AnnotatedLines[CurrentLine]->startsWithNamespace()) {
 1545         if (!checkEmptyNamespace(AnnotatedLines, CurrentLine, NewLine,
 1548         CurrentLine = NewLine;
 1552       if (containsOnlyComments(*AnnotatedLines[CurrentLine]))
 1557       NewLine = CurrentLine;
 1561     NewLine = CurrentLine;
 1562     if (CurrentLine >= End)
 1568             AnnotatedLines[CurrentLine]->Last->Tok.getEndLoc())))
 1571     for (unsigned i = InitLine; i <= CurrentLine; ++i) {