Home
last modified time | relevance | path

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

/freebsd-12.1/contrib/llvm/include/llvm/Support/
H A DLineIterator.h39 StringRef CurrentLine; variable
70 StringRef operator*() const { return CurrentLine; }
71 const StringRef *operator->() const { return &CurrentLine; }
75 LHS.CurrentLine.begin() == RHS.CurrentLine.begin();
/freebsd-12.1/contrib/llvm/lib/Support/
H A DLineIterator.cpp39 CurrentLine(Buffer.getBufferSize() ? Buffer.getBufferStart() : nullptr, in line_iterator()
54 const char *Pos = CurrentLine.end(); in advance()
83 CurrentLine = StringRef(); in advance()
93 CurrentLine = StringRef(Pos, Length); in advance()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Format/
H A DFormat.cpp1351 unsigned InitLine = CurrentLine, End = AnnotatedLines.size(); in checkEmptyNamespace()
1357 NewLine = CurrentLine; in checkEmptyNamespace()
1363 while (++CurrentLine < End) { in checkEmptyNamespace()
1364 if (AnnotatedLines[CurrentLine]->startsWith(tok::r_brace)) in checkEmptyNamespace()
1367 if (AnnotatedLines[CurrentLine]->startsWithNamespace()) { in checkEmptyNamespace()
1371 CurrentLine = NewLine; in checkEmptyNamespace()
1375 if (containsOnlyComments(*AnnotatedLines[CurrentLine])) in checkEmptyNamespace()
1380 NewLine = CurrentLine; in checkEmptyNamespace()
1384 NewLine = CurrentLine; in checkEmptyNamespace()
1385 if (CurrentLine >= End) in checkEmptyNamespace()
[all …]