Searched refs:CurBuffer (Results 1 – 7 of 7) sorted by relevance
/freebsd/contrib/llvm-project/clang/lib/Lex/ |
H A D | ScratchBuffer.cpp | 24 : SourceMgr(SM), CurBuffer(nullptr) { in ScratchBuffer() 48 CurBuffer[BytesUsed++] = '\n'; in getToken() 51 DestPtr = CurBuffer+BytesUsed; in getToken() 54 memcpy(CurBuffer+BytesUsed, Buf, Len); in getToken() 62 CurBuffer[BytesUsed-1] = '\0'; in getToken() 79 CurBuffer = OwnBuf->getBufferStart(); in AllocScratchBuffer()
|
/freebsd/contrib/llvm-project/llvm/lib/TableGen/ |
H A D | TGLexer.cpp | 48 CurBuffer = SrcMgr.getMainFileID(); in TGLexer() 49 CurBuf = SrcMgr.getMemoryBuffer(CurBuffer)->getBuffer(); in TGLexer() 82 SMLoc ParentIncludeLoc = SrcMgr.getParentIncludeLoc(CurBuffer); in processEOF() 91 CurBuffer = SrcMgr.FindBufferContainingLoc(ParentIncludeLoc); in processEOF() 92 CurBuf = SrcMgr.getMemoryBuffer(CurBuffer)->getBuffer(); in processEOF() 407 CurBuffer = SrcMgr.AddIncludeFile(Filename, SMLoc::getFromPointer(CurPtr), in LexInclude() 409 if (!CurBuffer) { in LexInclude() 416 CurBuf = SrcMgr.getMemoryBuffer(CurBuffer)->getBuffer(); in LexInclude()
|
H A D | TGLexer.h | 203 unsigned CurBuffer = 0; variable
|
/freebsd/contrib/llvm-project/clang/include/clang/Lex/ |
H A D | ScratchBuffer.h | 26 char *CurBuffer; variable
|
/freebsd/contrib/llvm-project/llvm/lib/MC/MCParser/ |
H A D | MasmParser.cpp | 391 unsigned CurBuffer; member in __anon60b61cd60111::MasmParser 1095 CurBuffer(CB ? CB : SM.getMainFileID()), TM(TM) { in MasmParser() 1102 Lexer.setBuffer(SrcMgr.getMemoryBuffer(CurBuffer)->getBuffer()); in MasmParser() 1172 CurBuffer = NewBuf; in enterIncludeFile() 1173 Lexer.setBuffer(SrcMgr.getMemoryBuffer(CurBuffer)->getBuffer()); in enterIncludeFile() 1180 CurBuffer = InBuffer ? InBuffer : SrcMgr.FindBufferContainingLoc(Loc); in jumpToLoc() 1181 Lexer.setBuffer(SrcMgr.getMemoryBuffer(CurBuffer)->getBuffer(), in jumpToLoc() 1220 CurBuffer = in expandMacros() 1222 Lexer.setBuffer(SrcMgr.getMemoryBuffer(CurBuffer)->getBuffer(), nullptr, in expandMacros() 1279 SMLoc ParentIncludeLoc = SrcMgr.getParentIncludeLoc(CurBuffer); in Lex() [all …]
|
H A D | AsmParser.cpp | 133 unsigned CurBuffer; member in __anon4b9616090111::AsmParser 776 CurBuffer(CB ? CB : SM.getMainFileID()), MacrosEnabledFlag(true) { in AsmParser() 783 Lexer.setBuffer(SrcMgr.getMemoryBuffer(CurBuffer)->getBuffer()); in AsmParser() 872 CurBuffer = NewBuf; in enterIncludeFile() 873 Lexer.setBuffer(SrcMgr.getMemoryBuffer(CurBuffer)->getBuffer()); in enterIncludeFile() 904 CurBuffer = InBuffer ? InBuffer : SrcMgr.FindBufferContainingLoc(Loc); in jumpToLoc() 905 Lexer.setBuffer(SrcMgr.getMemoryBuffer(CurBuffer)->getBuffer(), in jumpToLoc() 933 SMLoc ParentIncludeLoc = SrcMgr.getParentIncludeLoc(CurBuffer); in Lex() 2355 Line = SrcMgr.FindLineNumber(IDLoc, CurBuffer); in parseAndMatchAndEmitTargetInstruction() 2434 CppHashInfo.Buf = CurBuffer; in parseCppHashLineFilenameComment() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/MC/ |
H A D | MCDwarf.cpp | 1228 unsigned CurBuffer = SrcMgr.FindBufferContainingLoc(Loc); in Make() local 1229 unsigned LineNumber = SrcMgr.FindLineNumber(Loc, CurBuffer); in Make()
|