Home
last modified time | relevance | path

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

/external/llvm/lib/Support/
DSourceMgr.cpp77 SourceMgr::getLineAndColumn(SMLoc Loc, unsigned BufferID) const { in getLineAndColumn()
78 if (!BufferID) in getLineAndColumn()
79 BufferID = FindBufferContainingLoc(Loc); in getLineAndColumn()
80 assert(BufferID && "Invalid Location!"); in getLineAndColumn()
82 const MemoryBuffer *Buff = getMemoryBuffer(BufferID); in getLineAndColumn()
95 if (Cache->LastQueryBufferID == BufferID && in getLineAndColumn()
112 Cache.LastQueryBufferID = BufferID; in getLineAndColumn()
144 const char *BufferID = "<unknown>"; in GetMessage() local
152 BufferID = CurMB->getBufferIdentifier(); in GetMessage()
193 return SMDiagnostic(*this, Loc, BufferID, LineAndCol.first, in GetMessage()
/external/llvm/include/llvm/Support/
DSourceMgr.h148 unsigned FindLineNumber(SMLoc Loc, unsigned BufferID = 0) const {
149 return getLineAndColumn(Loc, BufferID).first;
155 unsigned BufferID = 0) const;