Searched refs:CurLoc (Results 1 – 9 of 9) sorted by relevance
| /netbsd-src/external/apache2/llvm/dist/llvm/tools/llvm-rc/ |
| H A D | ResourceScriptParser.cpp | 34 RCParser::ParserError::ParserError(const Twine &Expected, const LocIter CurLoc, in ParserError() argument 36 : ErrorLoc(CurLoc), FileEnd(End) { in ParserError() 38 (CurLoc == End ? "<EOF>" : CurLoc->value()).str(); in ParserError() 44 : Tokens(std::move(TokenList)), CurLoc(Tokens.begin()), End(Tokens.end()) {} in RCParser() 46 bool RCParser::isEof() const { return CurLoc == End; } in isEof() 101 return *CurLoc; in look() 106 return *CurLoc++; in read() 111 CurLoc++; in consume() 853 Message, IsAlreadyRead ? std::prev(CurLoc) : CurLoc, End); in getExpectedError()
|
| H A D | ResourceScriptParser.h | 41 ParserError(const Twine &Expected, const LocIter CurLoc, const LocIter End); 185 LocIter CurLoc; variable
|
| H A D | ResourceFileWriter.cpp | 1367 uint64_t CurLoc = tell(); in writeVersionInfoBlock() local 1368 writeObjectAt(ulittle16_t(CurLoc - LengthLoc), LengthLoc); in writeVersionInfoBlock() 1422 auto CurLoc = tell(); in writeVersionInfoValue() local 1423 auto ValueLength = CurLoc - DataLoc; in writeVersionInfoValue() 1428 writeObjectAt(ulittle16_t(CurLoc - LengthLoc), LengthLoc); in writeVersionInfoValue()
|
| /netbsd-src/external/apache2/llvm/dist/clang/lib/Lex/ |
| H A D | TokenLexer.cpp | 995 SourceLocation CurLoc = FirstLoc; in updateConsecutiveMacroArgTokens() local 1010 if (CurLoc.isFileID() != NextLoc.isFileID()) in updateConsecutiveMacroArgTokens() 1014 if (!SM.isInSameSLocAddrSpace(CurLoc, NextLoc, &RelOffs)) in updateConsecutiveMacroArgTokens() 1021 if (CurLoc.isMacroID() && !SM.isWrittenInSameFile(CurLoc, NextLoc)) in updateConsecutiveMacroArgTokens() 1024 CurLoc = NextLoc; in updateConsecutiveMacroArgTokens()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/examples/Kaleidoscope/Chapter9/ |
| H A D | toy.cpp | 105 static SourceLocation CurLoc; variable 130 CurLoc = LexLoc; in gettok() 205 ExprAST(SourceLocation Loc = CurLoc) : Loc(Loc) {} in ExprAST() 469 SourceLocation LitLoc = CurLoc; in ParseIdentifierExpr() 503 SourceLocation IfLoc = CurLoc; in ParseIfExpr() 684 SourceLocation BinLoc = CurLoc; in ParseBinOpRHS() 725 SourceLocation FnLoc = CurLoc; in ParsePrototype() 800 SourceLocation FnLoc = CurLoc; in ParseTopLevelExpr()
|
| /netbsd-src/external/apache2/llvm/dist/clang/lib/CodeGen/ |
| H A D | CGDebugInfo.cpp | 175 CurLoc = CGM.getContext().getSourceManager().getExpansionLoc(Loc); in setLocation() 185 PresumedLoc PCLoc = SM.getPresumedLoc(CurLoc); in setLocation() 186 if (PCLoc.isInvalid() || Scope->getFile() == getOrCreateFile(CurLoc)) in setLocation() 192 LBF->getScope(), getOrCreateFile(CurLoc))); in setLocation() 197 DBuilder.createLexicalBlockFile(Scope, getOrCreateFile(CurLoc))); in setLocation() 504 if (Loc.isInvalid() && CurLoc.isInvalid()) in getColumnNumber() 507 PresumedLoc PLoc = SM.getPresumedLoc(Loc.isValid() ? Loc : CurLoc); in getColumnNumber() 1089 getLineNumber(RD->getLocation().isValid() ? RD->getLocation() : CurLoc); in getOrCreateRecordFwdDecl() 1413 const unsigned line = getLineNumber(loc.isValid() ? loc : CurLoc); in createFieldType() 3936 CurLoc = SourceLocation(); in emitFunctionStart() [all …]
|
| H A D | CGDebugInfo.h | 66 SourceLocation CurLoc; variable 403 SourceLocation getLocation() const { return CurLoc; } in getLocation()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/AArch64/AsmParser/ |
| H A D | AArch64AsmParser.cpp | 5514 SMLoc CurLoc = getLoc(); in parseDirectiveCPU() local 5530 Error(CurLoc, "unknown CPU name"); in parseDirectiveCPU() 5536 CurLoc = incrementLoc(CurLoc, CPU.size()); in parseDirectiveCPU() 5543 CurLoc = incrementLoc(CurLoc, 1); in parseDirectiveCPU() 5572 Error(CurLoc, "unsupported architectural extension"); in parseDirectiveCPU() 5574 CurLoc = incrementLoc(CurLoc, Name.size()); in parseDirectiveCPU()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/docs/tutorial/MyFirstLanguageFrontend/ |
| H A D | LangImpl09.rst | 286 static SourceLocation CurLoc; 313 ExprAST(SourceLocation Loc = CurLoc) : Loc(Loc) {}
|