Home
last modified time | relevance | path

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

/external/llvm/lib/Support/
DSourceMgr.cpp116 size_t NewlineOffs = StringRef(BufStart, Ptr-BufStart).find_last_of("\n\r"); in getLineAndColumn() local
117 if (NewlineOffs == StringRef::npos) NewlineOffs = ~(size_t)0; in getLineAndColumn()
118 return std::make_pair(LineNo, Ptr-BufStart-NewlineOffs); in getLineAndColumn()