Searched refs:CurBuf (Results 1 – 9 of 9) sorted by relevance
49 CurBuf = SrcMgr.getMemoryBuffer(CurBuffer)->getBuffer(); in TGLexer()50 CurPtr = CurBuf.begin(); in TGLexer()92 CurBuf = SrcMgr.getMemoryBuffer(CurBuffer)->getBuffer(); in processEOF()117 if (CurPtr - 1 == CurBuf.end()) { in getNextChar()278 if (*CurPtr == 0 && CurPtr == CurBuf.end()) in LexString()311 if (CurPtr == CurBuf.end()) in LexString()416 CurBuf = SrcMgr.getMemoryBuffer(CurBuffer)->getBuffer(); in LexInclude()417 CurPtr = CurBuf.begin(); in LexInclude()428 auto EOLPos = CurBuf.find_first_of("\r\n", CurPtr - CurBuf.data()); in SkipBCPLComment()429 CurPtr = (EOLPos == StringRef::npos) ? CurBuf.end() : CurBuf.data() + EOLPos; in SkipBCPLComment()[all …]
193 StringRef CurBuf; variable216 return CurCode = LexToken(CurPtr == CurBuf.begin()); in Lex()
265 unsigned CurBuf = FindBufferContainingLoc(IncludeLoc); in PrintIncludeStack() local266 assert(CurBuf && "Invalid or unspecified location!"); in PrintIncludeStack()268 PrintIncludeStack(getBufferInfo(CurBuf).IncludeLoc, OS); in PrintIncludeStack()270 OS << "Included from " << getBufferInfo(CurBuf).Buffer->getBufferIdentifier() in PrintIncludeStack()271 << ":" << FindLineNumber(IncludeLoc, CurBuf) << ":\n"; in PrintIncludeStack()285 unsigned CurBuf = FindBufferContainingLoc(Loc); in GetMessage() local286 assert(CurBuf && "Invalid or unspecified location!"); in GetMessage()288 const MemoryBuffer *CurMB = getMemoryBuffer(CurBuf); in GetMessage()327 LineAndCol = getLineAndColumn(Loc, CurBuf); in GetMessage()344 unsigned CurBuf = FindBufferContainingLoc(Diagnostic.getLoc()); in PrintMessage() local[all …]
43 CurBuf = Buf; in setBuffer()48 CurPtr = CurBuf.begin(); in setBuffer()63 if (CurPtr == CurBuf.end()) in getNextChar()69 if (CurPtr == CurBuf.end()) in peekNextChar()200 while (CurPtr != CurBuf.end()) { in LexSlash()232 if (CurChar == '\r' && CurPtr != CurBuf.end() && *CurPtr == '\n') in LexLineComment()669 *CurPtr != '\n' && *CurPtr != '\r' && CurPtr != CurBuf.end()) { in LexUntilEndOfStatement()678 while (*CurPtr != '\n' && *CurPtr != '\r' && CurPtr != CurBuf.end()) { in LexUntilEndOfLine()807 if (CurPtr != CurBuf.end() && *CurPtr == '\n') in LexToken()
789 unsigned CurBuf = getSourceManager().FindBufferContainingLoc(IDLoc); in parseDirectiveSecureLogUnique() local790 *OS << getSourceManager().getBufferInfo(CurBuf).Buffer->getBufferIdentifier() in parseDirectiveSecureLogUnique()791 << ":" << getSourceManager().FindLineNumber(IDLoc, CurBuf) << ":" in parseDirectiveSecureLogUnique()
29 StringRef CurBuf; variable
30 StringRef CurBuf; variable
282 unsigned CurBuf = SrcMgr.FindBufferContainingLoc(L); in getIncludePath() local283 assert(CurBuf && "Invalid or unspecified location!"); in getIncludePath()285 Stream << SrcMgr.getBufferInfo(CurBuf).Buffer->getBufferIdentifier() << ":" in getIncludePath()286 << SrcMgr.FindLineNumber(L, CurBuf); in getIncludePath()
161 : CurBuf(StartBuf), ErrorInfo(Err), SM(SM), Context(C) { in LLLexer()162 CurPtr = CurBuf.begin(); in LLLexer()172 if (CurPtr-1 != CurBuf.end()) in getNextChar()