Home
last modified time | relevance | path

Searched refs:CurBuf (Results 1 – 8 of 8) sorted by relevance

/external/llvm/lib/Support/
DSourceMgr.cpp124 unsigned CurBuf = FindBufferContainingLoc(IncludeLoc); in PrintIncludeStack() local
125 assert(CurBuf && "Invalid or unspecified location!"); in PrintIncludeStack()
127 PrintIncludeStack(getBufferInfo(CurBuf).IncludeLoc, OS); in PrintIncludeStack()
130 << getBufferInfo(CurBuf).Buffer->getBufferIdentifier() in PrintIncludeStack()
131 << ":" << FindLineNumber(IncludeLoc, CurBuf) << ":\n"; in PrintIncludeStack()
148 unsigned CurBuf = FindBufferContainingLoc(Loc); in GetMessage() local
149 assert(CurBuf && "Invalid or unspecified location!"); in GetMessage()
151 const MemoryBuffer *CurMB = getMemoryBuffer(CurBuf); in GetMessage()
190 LineAndCol = getLineAndColumn(Loc, CurBuf); in GetMessage()
207 unsigned CurBuf = FindBufferContainingLoc(Diagnostic.getLoc()); in PrintMessage() local
[all …]
/external/llvm/lib/TableGen/
DTGLexer.cpp31 CurBuf = SrcMgr.getMemoryBuffer(CurBuffer)->getBuffer(); in TGLexer()
32 CurPtr = CurBuf.begin(); in TGLexer()
55 if (CurPtr-1 != CurBuf.end()) in getNextChar()
63 CurBuf = SrcMgr.getMemoryBuffer(CurBuffer)->getBuffer(); in getNextChar()
190 if (*CurPtr == 0 && CurPtr == CurBuf.end()) in LexString()
223 if (CurPtr == CurBuf.end()) in LexString()
322 CurBuf = SrcMgr.getMemoryBuffer(CurBuffer)->getBuffer(); in LexInclude()
323 CurPtr = CurBuf.begin(); in LexInclude()
336 if (CurPtr == CurBuf.end()) in SkipBCPLComment()
DTGLexer.h70 StringRef CurBuf; variable
/external/llvm/lib/MC/MCParser/
DAsmLexer.cpp34 CurBuf = Buf; in setBuffer()
39 CurPtr = CurBuf.begin(); in setBuffer()
60 if (CurPtr - 1 != CurBuf.end()) in getNextChar()
423 (*CurPtr != 0 || CurPtr != CurBuf.end())) { in LexUntilEndOfStatement()
433 (*CurPtr != 0 || CurPtr != CurBuf.end())) { in LexUntilEndOfLine()
DDarwinAsmParser.cpp653 unsigned CurBuf = getSourceManager().FindBufferContainingLoc(IDLoc); in parseDirectiveSecureLogUnique() local
654 *OS << getSourceManager().getBufferInfo(CurBuf).Buffer->getBufferIdentifier() in parseDirectiveSecureLogUnique()
655 << ":" << getSourceManager().FindLineNumber(IDLoc, CurBuf) << ":" in parseDirectiveSecureLogUnique()
/external/llvm/include/llvm/MC/MCParser/
DAsmLexer.h31 StringRef CurBuf; variable
/external/llvm/lib/AsmParser/
DLLLexer.h31 StringRef CurBuf; variable
DLLLexer.cpp168 : CurBuf(StartBuf), ErrorInfo(Err), SM(sm), Context(C), APFloatVal(0.0) { in LLLexer()
169 CurPtr = CurBuf.begin(); in LLLexer()
179 if (CurPtr-1 != CurBuf.end()) in getNextChar()