Searched refs:NewlineOffs (Results 1 – 1 of 1) sorted by relevance
116 size_t NewlineOffs = StringRef(BufStart, Ptr-BufStart).find_last_of("\n\r"); in getLineAndColumn() local117 if (NewlineOffs == StringRef::npos) NewlineOffs = ~(size_t)0; in getLineAndColumn()118 return std::make_pair(LineNo, Ptr-BufStart-NewlineOffs); in getLineAndColumn()