Searched refs:CurLoc (Results 1 – 9 of 9) sorted by relevance
| /openbsd-src/gnu/llvm/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() 852 Message, IsAlreadyRead ? std::prev(CurLoc) : CurLoc, End); in getExpectedError()
|
| H A D | ResourceScriptParser.h | 38 ParserError(const Twine &Expected, const LocIter CurLoc, const LocIter End); 182 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()
|
| /openbsd-src/gnu/llvm/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()
|
| /openbsd-src/gnu/llvm/clang/lib/CodeGen/ |
| H A D | CGDebugInfo.cpp | 180 CurLoc = CGM.getContext().getSourceManager().getExpansionLoc(Loc); in setLocation() 190 PresumedLoc PCLoc = SM.getPresumedLoc(CurLoc); in setLocation() 191 if (PCLoc.isInvalid() || Scope->getFile() == getOrCreateFile(CurLoc)) in setLocation() 197 LBF->getScope(), getOrCreateFile(CurLoc))); in setLocation() 202 DBuilder.createLexicalBlockFile(Scope, getOrCreateFile(CurLoc))); in setLocation() 495 if (Loc.isInvalid() && CurLoc.isInvalid()) in getColumnNumber() 498 PresumedLoc PLoc = SM.getPresumedLoc(Loc.isValid() ? Loc : CurLoc); in getColumnNumber() 1110 getLineNumber(RD->getLocation().isValid() ? RD->getLocation() : CurLoc); in getOrCreateRecordFwdDecl() 1499 const unsigned line = getLineNumber(loc.isValid() ? loc : CurLoc); in createFieldType() 4126 CurLoc = SourceLocation(); in emitFunctionStart() [all …]
|
| H A D | CGDebugInfo.h | 65 SourceLocation CurLoc; variable 415 SourceLocation getLocation() const { return CurLoc; } in getLocation()
|
| /openbsd-src/gnu/llvm/llvm/docs/tutorial/MyFirstLanguageFrontend/ |
| H A D | LangImpl09.rst | 287 static SourceLocation CurLoc; 314 ExprAST(SourceLocation Loc = CurLoc) : Loc(Loc) {}
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/AArch64/AsmParser/ |
| H A D | AArch64AsmParser.cpp | 6977 SMLoc CurLoc = getLoc(); in parseDirectiveCPU() local 6993 Error(CurLoc, "unknown CPU name"); in parseDirectiveCPU() 6999 CurLoc = incrementLoc(CurLoc, CPU.size()); in parseDirectiveCPU() 7005 CurLoc = incrementLoc(CurLoc, 1); in parseDirectiveCPU() 7034 Error(CurLoc, "unsupported architectural extension"); in parseDirectiveCPU() 7036 CurLoc = incrementLoc(CurLoc, Name.size()); in parseDirectiveCPU()
|
| /openbsd-src/gnu/llvm/clang/lib/Sema/ |
| H A D | SemaDeclAttr.cpp | 3517 SourceLocation CurLoc = Literal->getLocationOfByte( in checkTargetClonesAttrString() local 3524 return Diag(CurLoc, diag::warn_unsupported_target_attribute) in checkTargetClonesAttrString() 3533 Diag(CurLoc, diag::warn_target_clone_duplicate_options); in checkTargetClonesAttrString() 3543 Diag(CurLoc, diag::warn_unsupported_target_attribute) in checkTargetClonesAttrString() 3561 Diag(CurLoc, diag::warn_target_clone_duplicate_options); in checkTargetClonesAttrString() 3565 Diag(CurLoc, diag::warn_target_clone_no_impact_options); in checkTargetClonesAttrString() 3576 return Diag(CurLoc, diag::warn_unsupported_target_attribute) in checkTargetClonesAttrString() 3583 return Diag(CurLoc, diag::warn_unsupported_target_attribute) in checkTargetClonesAttrString() 3586 Diag(CurLoc, diag::warn_target_clone_duplicate_options); in checkTargetClonesAttrString()
|