Searched refs:BufferID (Results 1 – 3 of 3) sorted by relevance
89 SourceMgr::getLineAndColumn(SMLoc Loc, int BufferID) const { in getLineAndColumn()90 if (BufferID == -1) BufferID = FindBufferContainingLoc(Loc); in getLineAndColumn()91 assert(BufferID != -1 && "Invalid Location!"); in getLineAndColumn()93 MemoryBuffer *Buff = getBufferInfo(BufferID).Buffer; in getLineAndColumn()106 if (Cache->LastQueryBufferID == BufferID && in getLineAndColumn()123 Cache.LastQueryBufferID = BufferID; in getLineAndColumn()160 const char *BufferID = "<unknown>"; in GetMessage() local168 BufferID = CurMB->getBufferIdentifier(); in GetMessage()209 return SMDiagnostic(*this, Loc, BufferID, LineAndCol.first, in GetMessage()
133 unsigned FindLineNumber(SMLoc Loc, int BufferID = -1) const {134 return getLineAndColumn(Loc, BufferID).first;140 getLineAndColumn(SMLoc Loc, int BufferID = -1) const;
41 int BufferID = SrcMgr.FindBufferContainingLoc(Loc); in emit() local42 MemoryBuffer *CurMB = SrcMgr.getBufferInfo(BufferID).Buffer; in emit()