Home
last modified time | relevance | path

Searched refs:lineStart_ (Results 1 – 2 of 2) sorted by relevance

/external/llvm-project/flang/include/flang/Parser/
Dsource.h50 std::size_t lines() const { return lineStart_.size(); } in lines()
58 return lineStart_.at(lineNumber - 1); in GetLineStartOffset()
68 std::vector<std::size_t> lineStart_; variable
/external/llvm-project/flang/lib/Parser/
Dsource.cpp39 lineStart_ = FindLineStarts({content().data(), bytes()}); in RecordLineStarts()
167 auto it = llvm::upper_bound(lineStart_, at); in FindOffsetLineAndColumn()
168 auto low = std::distance(lineStart_.begin(), it - 1); in FindOffsetLineAndColumn()
170 static_cast<int>(at - lineStart_[low] + 1)}; in FindOffsetLineAndColumn()