Home
last modified time | relevance | path

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

/external/llvm/lib/Support/
DSourceMgr.cpp89 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() local
168 BufferID = CurMB->getBufferIdentifier(); in GetMessage()
209 return SMDiagnostic(*this, Loc, BufferID, LineAndCol.first, in GetMessage()
/external/llvm/include/llvm/Support/
DSourceMgr.h133 unsigned FindLineNumber(SMLoc Loc, int BufferID = -1) const {
134 return getLineAndColumn(Loc, BufferID).first;
140 getLineAndColumn(SMLoc Loc, int BufferID = -1) const;
/external/llvm/utils/TableGen/
DCTagsEmitter.cpp41 int BufferID = SrcMgr.FindBufferContainingLoc(Loc); in emit() local
42 MemoryBuffer *CurMB = SrcMgr.getBufferInfo(BufferID).Buffer; in emit()