reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
53 return Pos.CurToken >= Toks.size(); 59 const Token &Tok = Toks[Pos.CurToken]; 61 Pos.BufferStart = Tok.getText().begin(); 62 Pos.BufferEnd = Tok.getText().end(); 63 Pos.BufferPtr = Pos.BufferStart; 63 Pos.BufferPtr = Pos.BufferStart; 64 Pos.BufferStartLoc = Tok.getLocation(); 68 const unsigned CharNo = Pos.BufferPtr - Pos.BufferStart; 68 const unsigned CharNo = Pos.BufferPtr - Pos.BufferStart; 69 return Pos.BufferStartLoc.getLocWithOffset(CharNo); 74 assert(Pos.BufferPtr != Pos.BufferEnd); 74 assert(Pos.BufferPtr != Pos.BufferEnd); 75 return *Pos.BufferPtr; 80 assert(Pos.BufferPtr != Pos.BufferEnd); 80 assert(Pos.BufferPtr != Pos.BufferEnd); 81 Pos.BufferPtr++; 82 if (Pos.BufferPtr == Pos.BufferEnd) { 82 if (Pos.BufferPtr == Pos.BufferEnd) { 83 Pos.CurToken++; 148 Pos.CurToken = 0; 157 Position SavedPos = Pos; 161 const char *WordBegin = Pos.BufferPtr; 173 Pos = SavedPos; 190 Position SavedPos = Pos; 194 const char *WordBegin = Pos.BufferPtr; 217 Pos = SavedPos; 228 Pos.BufferPtr - WordBegin, Text); 239 if (Pos.BufferPtr != Pos.BufferStart) { 239 if (Pos.BufferPtr != Pos.BufferStart) { 241 Pos.BufferPtr, Pos.BufferEnd - Pos.BufferPtr, 241 Pos.BufferPtr, Pos.BufferEnd - Pos.BufferPtr, 241 Pos.BufferPtr, Pos.BufferEnd - Pos.BufferPtr, 242 StringRef(Pos.BufferPtr, 243 Pos.BufferEnd - Pos.BufferPtr)); 243 Pos.BufferEnd - Pos.BufferPtr)); 245 Pos.CurToken++; 248 P.putBack(llvm::makeArrayRef(Toks.begin() + Pos.CurToken, Toks.end())); 249 Pos.CurToken = Toks.size();