Home
last modified time | relevance | path

Searched refs:CurrentLine (Results 1 – 3 of 3) sorted by relevance

/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/Support/
HDLineIterator.h38 StringRef CurrentLine; variable
69 StringRef operator*() const { return CurrentLine; }
70 const StringRef *operator->() const { return &CurrentLine; }
74 LHS.CurrentLine.begin() == RHS.CurrentLine.begin();
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Support/
HDLineIterator.cpp38 CurrentLine(Buffer.getBufferSize() ? Buffer.getBufferStart() : nullptr, in line_iterator()
53 const char *Pos = CurrentLine.end(); in advance()
82 CurrentLine = StringRef(); in advance()
92 CurrentLine = StringRef(Pos, Length); in advance()
/freebsd-11-stable/contrib/llvm-project/clang/lib/Format/
HDFormat.cpp1544 unsigned CurrentLine, unsigned &NewLine, in checkEmptyNamespace() argument
1546 unsigned InitLine = CurrentLine, End = AnnotatedLines.size(); in checkEmptyNamespace()
1551 if (!AnnotatedLines[++CurrentLine]->startsWith(tok::l_brace)) { in checkEmptyNamespace()
1552 NewLine = CurrentLine; in checkEmptyNamespace()
1555 } else if (!AnnotatedLines[CurrentLine]->endsWith(tok::l_brace)) { in checkEmptyNamespace()
1558 while (++CurrentLine < End) { in checkEmptyNamespace()
1559 if (AnnotatedLines[CurrentLine]->startsWith(tok::r_brace)) in checkEmptyNamespace()
1562 if (AnnotatedLines[CurrentLine]->startsWithNamespace()) { in checkEmptyNamespace()
1563 if (!checkEmptyNamespace(AnnotatedLines, CurrentLine, NewLine, in checkEmptyNamespace()
1566 CurrentLine = NewLine; in checkEmptyNamespace()
[all …]