Home
last modified time | relevance | path

Searched refs:EndLoc (Results 1 – 25 of 101) sorted by relevance

12345

/openbsd/src/gnu/llvm/clang/lib/AST/
DSelectorLocationsKind.cpp23 SourceLocation EndLoc) { in getStandardSelLoc() argument
27 if (EndLoc.isInvalid()) in getStandardSelLoc()
31 return EndLoc.getLocWithOffset(-Len); in getStandardSelLoc()
72 SourceLocation EndLoc) { in hasStandardSelLocs() argument
77 Args, EndLoc)) in hasStandardSelLocs()
86 Args, EndLoc)) in hasStandardSelLocs()
99 SourceLocation EndLoc) { in hasStandardSelectorLocs() argument
100 return hasStandardSelLocs(Sel, SelLocs, Args, EndLoc); in hasStandardSelectorLocs()
107 SourceLocation EndLoc) { in getStandardSelectorLoc() argument
109 getArgLoc(Index, Args), EndLoc); in getStandardSelectorLoc()
[all …]
DStmtOpenMP.cpp264 SourceLocation EndLoc, in Create() argument
268 C, Clauses, AssociatedStmt, /*NumChildren=*/1, StartLoc, EndLoc); in Create()
282 const ASTContext &C, SourceLocation StartLoc, SourceLocation EndLoc, in Create() argument
286 C, Clauses, AssociatedStmt, /*NumChildren=*/1, StartLoc, EndLoc); in Create()
302 SourceLocation EndLoc, unsigned CollapsedNum, in Create() argument
307 StartLoc, EndLoc, CollapsedNum); in Create()
337 const ASTContext &C, SourceLocation StartLoc, SourceLocation EndLoc, in Create() argument
342 StartLoc, EndLoc, CollapsedNum); in Create()
409 SourceLocation EndLoc, ArrayRef<OMPClause *> Clauses, in Create() argument
413 C, Clauses, AssociatedStmt, TransformedStmtOffset + 1, StartLoc, EndLoc, in Create()
[all …]
DOpenMPClause.cpp344 SourceLocation EndLoc) { in Create() argument
347 new (Mem) OMPOrderedClause(Num, NumLoops, StartLoc, LParenLoc, EndLoc); in Create()
393 SourceLocation EndLoc) { in Create() argument
394 return new (C) OMPUpdateClause(StartLoc, EndLoc, /*IsExtended=*/false); in Create()
400 OpenMPDependClauseKind DK, SourceLocation EndLoc) { in Create() argument
405 new (Mem) OMPUpdateClause(StartLoc, EndLoc, /*IsExtended=*/true); in Create()
432 SourceLocation LParenLoc, SourceLocation EndLoc, in Create() argument
437 new (Mem) OMPPrivateClause(StartLoc, LParenLoc, EndLoc, VL.size()); in Create()
463 SourceLocation LParenLoc, SourceLocation EndLoc, in Create() argument
468 new (Mem) OMPFirstprivateClause(StartLoc, LParenLoc, EndLoc, VL.size()); in Create()
[all …]
/openbsd/src/gnu/llvm/clang/include/clang/AST/
DStmtOpenMP.h275 SourceLocation EndLoc; variable
296 SourceLocation StartLoc, SourceLocation EndLoc) in OMPExecutableDirective() argument
298 EndLoc(std::move(EndLoc)) {} in OMPExecutableDirective()
491 SourceLocation getEndLoc() const { return EndLoc; } in getEndLoc()
502 void setLocEnd(SourceLocation Loc) { EndLoc = Loc; } in setLocEnd()
623 OMPParallelDirective(SourceLocation StartLoc, SourceLocation EndLoc) in OMPParallelDirective() argument
625 llvm::omp::OMPD_parallel, StartLoc, EndLoc) {} in OMPParallelDirective()
653 Create(const ASTContext &C, SourceLocation StartLoc, SourceLocation EndLoc,
699 SourceLocation StartLoc, SourceLocation EndLoc, in OMPLoopBasedDirective() argument
701 : OMPExecutableDirective(SC, Kind, StartLoc, EndLoc), in OMPLoopBasedDirective()
[all …]
DAvailability.h39 SourceLocation BeginLoc, EndLoc; variable
43 SourceLocation BeginLoc, SourceLocation EndLoc) in AvailabilitySpec() argument
45 EndLoc(EndLoc) {} in AvailabilitySpec()
49 : BeginLoc(StarLoc), EndLoc(StarLoc) {} in AvailabilitySpec()
54 SourceLocation getEndLoc() const { return EndLoc; } in getEndLoc()
DOpenMPClause.h60 SourceLocation EndLoc; variable
66 OMPClause(OpenMPClauseKind K, SourceLocation StartLoc, SourceLocation EndLoc) in OMPClause() argument
67 : StartLoc(StartLoc), EndLoc(EndLoc), Kind(K) {} in OMPClause()
74 SourceLocation getEndLoc() const { return EndLoc; } in getEndLoc()
80 void setLocEnd(SourceLocation Loc) { EndLoc = Loc; } in setLocEnd()
116 OMPNoChildClause(SourceLocation StartLoc, SourceLocation EndLoc) in OMPNoChildClause()
117 : OMPClause(ClauseKind, StartLoc, EndLoc) {} in OMPNoChildClause()
157 SourceLocation EndLoc) in OMPOneStmtClause() argument
158 : Base(ClauseKind, StartLoc, EndLoc), LParenLoc(LParenLoc), S(S) {} in OMPOneStmtClause()
265 SourceLocation EndLoc; member
[all …]
DSelectorLocationsKind.h48 SourceLocation EndLoc);
60 SourceLocation EndLoc);
66 SourceLocation EndLoc);
78 SourceLocation EndLoc);
/openbsd/src/gnu/llvm/llvm/lib/Target/MSP430/AsmParser/
DMSP430AsmParser.cpp49 SMLoc &EndLoc) override;
51 SMLoc &EndLoc) override;
294 SMLoc &EndLoc) { in parseRegister() argument
295 switch (tryParseRegister(RegNo, StartLoc, EndLoc)) { in parseRegister()
309 SMLoc &EndLoc) { in tryParseRegister() argument
321 EndLoc = T.getEndLoc(); in tryParseRegister()
460 SMLoc StartLoc, EndLoc; in ParseOperand() local
461 if (!parseRegister(RegNo, StartLoc, EndLoc)) { in ParseOperand()
462 Operands.push_back(MSP430Operand::CreateReg(RegNo, StartLoc, EndLoc)); in ParseOperand()
475 SMLoc EndLoc = getParser().getTok().getLoc(); in ParseOperand() local
[all …]
/openbsd/src/gnu/llvm/clang/lib/Tooling/Refactoring/Rename/
DUSRLocFinder.cpp90 const SourceLocation EndLoc = Lexer::getLocForEndOfToken( in checkAndAddLocation() local
93 Lexer::getSourceText(CharSourceRange::getTokenRange(BeginLoc, EndLoc), in checkAndAddLocation()
201 auto EndLoc = StartLoc; in VisitNamedDecl() local
204 EndLoc, in VisitNamedDecl()
218 auto EndLoc = Expr->getMemberLoc(); in VisitMemberExpr() local
220 RenameInfos.push_back({StartLoc, EndLoc, in VisitMemberExpr()
235 auto EndLoc = D.getFieldLoc(); in VisitDesignatedInitExpr() local
236 RenameInfos.push_back({StartLoc, EndLoc, in VisitDesignatedInitExpr()
279 SourceLocation EndLoc = Expr->hasExplicitTemplateArgs() in VisitDeclRefExpr() local
288 RenameInfos.push_back({EndLoc, EndLoc, in VisitDeclRefExpr()
[all …]
DUSRFinder.cpp87 SourceLocation EndLoc = CurrDecl->getEndLoc(); in getNamedDeclAt() local
88 if (StartLoc.isValid() && EndLoc.isValid() && in getNamedDeclAt()
90 SM.isBeforeInTranslationUnit(EndLoc, Point)) in getNamedDeclAt()
/openbsd/src/gnu/llvm/llvm/lib/Target/SystemZ/AsmParser/
DSystemZAsmParser.cpp92 SMLoc StartLoc, EndLoc; member in __anonddbec49a0111::SystemZOperand
157 : Kind(kind), StartLoc(startLoc), EndLoc(endLoc) {} in SystemZOperand()
161 SMLoc EndLoc) { in createInvalid() argument
162 return std::make_unique<SystemZOperand>(KindInvalid, StartLoc, EndLoc); in createInvalid()
173 createReg(RegisterKind Kind, unsigned Num, SMLoc StartLoc, SMLoc EndLoc) { in createReg() argument
174 auto Op = std::make_unique<SystemZOperand>(KindReg, StartLoc, EndLoc); in createReg()
181 createImm(const MCExpr *Expr, SMLoc StartLoc, SMLoc EndLoc) { in createImm() argument
182 auto Op = std::make_unique<SystemZOperand>(KindImm, StartLoc, EndLoc); in createImm()
190 unsigned LengthReg, SMLoc StartLoc, SMLoc EndLoc) { in createMem() argument
191 auto Op = std::make_unique<SystemZOperand>(KindMem, StartLoc, EndLoc); in createMem()
[all …]
/openbsd/src/gnu/llvm/llvm/lib/Target/BPF/AsmParser/
DBPFAsmParser.cpp43 SMLoc &EndLoc) override;
45 SMLoc &EndLoc) override;
99 SMLoc StartLoc, EndLoc; member
112 EndLoc = o.EndLoc; in BPFOperand()
148 SMLoc getEndLoc() const override { return EndLoc; } in getEndLoc()
204 Op->EndLoc = S; in createToken()
213 Op->EndLoc = E; in createReg()
222 Op->EndLoc = E; in createImm()
328 SMLoc &EndLoc) { in parseRegister() argument
329 if (tryParseRegister(RegNo, StartLoc, EndLoc) != MatchOperand_Success) in parseRegister()
[all …]
/openbsd/src/gnu/llvm/llvm/lib/Target/X86/AsmParser/
DX86Operand.h34 SMLoc StartLoc, EndLoc; member
91 : Kind(K), StartLoc(Start), EndLoc(End), OpDecl(nullptr), in X86Operand()
101 SMLoc getEndLoc() const override { return EndLoc; } in getEndLoc()
105 SMRange getLocRange() const { return SMRange(StartLoc, EndLoc); } in getLocRange()
634 SMLoc EndLoc = SMLoc::getFromPointer(Loc.getPointer() + Str.size()); in CreateToken() local
635 auto Res = std::make_unique<X86Operand>(Token, Loc, EndLoc); in CreateToken()
642 CreateReg(unsigned RegNo, SMLoc StartLoc, SMLoc EndLoc,
645 auto Res = std::make_unique<X86Operand>(Register, StartLoc, EndLoc);
655 CreateDXReg(SMLoc StartLoc, SMLoc EndLoc) { in CreateDXReg()
656 return std::make_unique<X86Operand>(DXRegister, StartLoc, EndLoc); in CreateDXReg()
[all …]
/openbsd/src/gnu/llvm/clang/lib/Sema/
DSemaOpenMP.cpp6109 Stmt *AStmt, SourceLocation StartLoc, SourceLocation EndLoc) { in ActOnOpenMPExecutableDirective() argument
6280 EndLoc); in ActOnOpenMPExecutableDirective()
6284 Res = ActOnOpenMPSimdDirective(ClausesWithImplicit, AStmt, StartLoc, EndLoc, in ActOnOpenMPExecutableDirective()
6291 ActOnOpenMPTileDirective(ClausesWithImplicit, AStmt, StartLoc, EndLoc); in ActOnOpenMPExecutableDirective()
6295 EndLoc); in ActOnOpenMPExecutableDirective()
6298 Res = ActOnOpenMPForDirective(ClausesWithImplicit, AStmt, StartLoc, EndLoc, in ActOnOpenMPExecutableDirective()
6303 EndLoc, VarsWithInheritedDSA); in ActOnOpenMPExecutableDirective()
6309 EndLoc); in ActOnOpenMPExecutableDirective()
6314 Res = ActOnOpenMPSectionDirective(AStmt, StartLoc, EndLoc); in ActOnOpenMPExecutableDirective()
6318 EndLoc); in ActOnOpenMPExecutableDirective()
[all …]
/openbsd/src/gnu/llvm/clang/lib/CodeGen/
DCoverageMappingGen.cpp590 std::optional<SourceLocation> EndLoc = std::nullopt, in pushRegion()
597 RegionStack.emplace_back(Count, FalseCount, StartLoc, EndLoc); in pushRegion()
621 SourceLocation EndLoc = Region.hasEndLoc() in popRegions() local
626 size_t EndDepth = locationDepth(EndLoc); in popRegions()
627 while (!SM.isWrittenInSameFile(StartLoc, EndLoc)) { in popRegions()
637 SourceLocation NestedLoc = getStartOfFileOrMacro(EndLoc); in popRegions()
638 assert(SM.isWrittenInSameFile(NestedLoc, EndLoc)); in popRegions()
640 if (!isBranch && !isRegionAlreadyAdded(NestedLoc, EndLoc)) in popRegions()
642 EndLoc); in popRegions()
644 EndLoc = getPreciseTokenLocEnd(getIncludeOrExpansionLoc(EndLoc)); in popRegions()
[all …]
DCGLoopInfo.h91 const llvm::DebugLoc &StartLoc, const llvm::DebugLoc &EndLoc,
122 llvm::DebugLoc EndLoc; variable
207 const llvm::DebugLoc &EndLoc);
214 const llvm::DebugLoc &EndLoc, bool MustProgress = false);
DCGLoopInfo.cpp427 if (EndLoc) in createMetadata()
428 LoopProperties.push_back(EndLoc.getAsMDNode()); in createMetadata()
476 const llvm::DebugLoc &StartLoc, const llvm::DebugLoc &EndLoc, in LoopInfo() argument
478 : Header(Header), Attrs(Attrs), StartLoc(StartLoc), EndLoc(EndLoc), in LoopInfo()
497 !EndLoc && !Attrs.MustProgress) in LoopInfo()
588 const llvm::DebugLoc &EndLoc) { in push() argument
590 new LoopInfo(Header, StagedAttrs, StartLoc, EndLoc, in push()
600 const llvm::DebugLoc &EndLoc, bool MustProgress) { in push() argument
802 push(Header, StartLoc, EndLoc); in push()
/openbsd/src/gnu/llvm/clang/include/clang/Sema/
DSema.h5056 SourceLocation EndLoc);
5218 SourceLocation EndLoc);
7095 TypeSourceInfo *MethodType, SourceLocation EndLoc,
7201 ExprResult BuildLambdaExpr(SourceLocation StartLoc, SourceLocation EndLoc,
10398 SourceLocation EndLoc, // location of the ; or {.
10758 void PopPragmaVisibility(bool IsNamespaceEnd, SourceLocation EndLoc);
11147 SourceLocation EndLoc);
11305 Stmt *AStmt, SourceLocation StartLoc, SourceLocation EndLoc);
11311 SourceLocation EndLoc);
11318 SourceLocation StartLoc, SourceLocation EndLoc,
[all …]
/openbsd/src/gnu/llvm/clang/lib/Parse/
DParseDecl.cpp90 SourceLocation EndLoc) { in FindLocsWithCommonFileID() argument
91 if (!StartLoc.isMacroID() || !EndLoc.isMacroID()) in FindLocsWithCommonFileID()
95 if (SM.getFileID(StartLoc) != SM.getFileID(EndLoc)) in FindLocsWithCommonFileID()
101 Lexer::isAtEndOfMacroExpansion(EndLoc, SM, PP.getLangOpts()); in FindLocsWithCommonFileID()
167 SourceLocation EndLoc = StartLoc; in ParseGNUAttributes() local
211 ParseGNUAttributeArgs(AttrName, AttrNameLoc, Attrs, &EndLoc, nullptr, in ParseGNUAttributes()
244 EndLoc = Loc; in ParseGNUAttributes()
266 Attrs.Range = SourceRange(StartLoc, EndLoc); in ParseGNUAttributes()
363 ParsedAttributes &Attrs, SourceLocation *EndLoc, IdentifierInfo *ScopeName, in ParseAttributeArgsCommon() argument
491 if (EndLoc) in ParseAttributeArgsCommon()
[all …]
DParseDeclCXX.cpp1055 SourceLocation EndLoc; in ParseDecltypeSpecifier() local
1059 EndLoc = Tok.getAnnotationEndLoc(); in ParseDecltypeSpecifier()
1062 DS.setTypeArgumentRange(SourceRange(SourceLocation(), EndLoc)); in ParseDecltypeSpecifier()
1066 return EndLoc; in ParseDecltypeSpecifier()
1106 EndLoc = ConsumeParen(); in ParseDecltypeSpecifier()
1112 EndLoc = ConsumeAnyToken(); in ParseDecltypeSpecifier()
1115 EndLoc = Tok.getLocation(); in ParseDecltypeSpecifier()
1118 return EndLoc; in ParseDecltypeSpecifier()
1139 EndLoc = T.getCloseLocation(); in ParseDecltypeSpecifier()
1154 return EndLoc; in ParseDecltypeSpecifier()
[all …]
DParseStmtAsm.cpp380 SourceLocation EndLoc = AsmLoc; in ParseMicrosoftAsmStatement() local
397 EndLoc = ConsumeBrace(); in ParseMicrosoftAsmStatement()
398 LBraceLocs.push_back(EndLoc); in ParseMicrosoftAsmStatement()
403 SrcMgr.getDecomposedExpansionLoc(EndLoc); in ParseMicrosoftAsmStatement()
419 EndLoc = ConsumeBrace(); in ParseMicrosoftAsmStatement()
421 LBraceLocs.push_back(EndLoc); in ParseMicrosoftAsmStatement()
481 EndLoc = ConsumeBrace(); in ParseMicrosoftAsmStatement()
497 EndLoc = TokLoc; in ParseMicrosoftAsmStatement()
551 ConstraintRefs, ClobberRefs, Exprs, EndLoc); in ParseMicrosoftAsmStatement()
671 ClobberRefs, Exprs, EndLoc); in ParseMicrosoftAsmStatement()
/openbsd/src/gnu/llvm/clang/lib/ARCMigrate/
DObjCMT.cpp269 SourceLocation EndLoc = Msg->getSelectorLoc(0); in rewriteToPropertyDotSyntax() local
270 SourceRange SpaceRange(BegLoc, EndLoc); in rewriteToPropertyDotSyntax()
299 SourceLocation EndLoc = RHS->getBeginLoc(); in rewriteToPropertyDotSyntax() local
300 EndLoc = EndLoc.getLocWithOffset(-1); in rewriteToPropertyDotSyntax()
301 const char *colon = PP.getSourceManager().getCharacterData(EndLoc); in rewriteToPropertyDotSyntax()
305 SourceRange Range(BegLoc, EndLoc); in rewriteToPropertyDotSyntax()
554 SourceLocation EndLoc = Setter->getDeclaratorEndLoc(); in rewriteToObjCProperty() local
556 EndLoc = EndLoc.getLocWithOffset(1); in rewriteToObjCProperty()
561 commit.remove(SourceRange(BeginOfSetterDclLoc, EndLoc)); in rewriteToObjCProperty()
667 SourceLocation EndLoc = in rewriteToObjCInterfaceDecl() local
[all …]
/openbsd/src/gnu/llvm/llvm/lib/MC/MCParser/
DAsmParser.cpp269 bool parseExpression(const MCExpr *&Res, SMLoc &EndLoc) override;
270 bool parsePrimaryExpr(const MCExpr *&Res, SMLoc &EndLoc,
272 bool parseParenExpression(const MCExpr *&Res, SMLoc &EndLoc) override;
274 SMLoc &EndLoc) override;
370 bool parseBinOpRHS(unsigned Precedence, const MCExpr *&Res, SMLoc &EndLoc);
371 bool parseParenExpr(const MCExpr *&Res, SMLoc &EndLoc);
372 bool parseBracketExpr(const MCExpr *&Res, SMLoc &EndLoc);
1134 bool AsmParser::parseParenExpr(const MCExpr *&Res, SMLoc &EndLoc) { in parseParenExpr() argument
1137 EndLoc = Lexer.getTok().getEndLoc(); in parseParenExpr()
1146 bool AsmParser::parseBracketExpr(const MCExpr *&Res, SMLoc &EndLoc) { in parseBracketExpr() argument
[all …]
DMasmParser.cpp548 bool parseExpression(const MCExpr *&Res, SMLoc &EndLoc) override;
549 bool parsePrimaryExpr(const MCExpr *&Res, SMLoc &EndLoc,
551 bool parseParenExpression(const MCExpr *&Res, SMLoc &EndLoc) override;
553 SMLoc &EndLoc) override;
665 bool parseBinOpRHS(unsigned Precedence, const MCExpr *&Res, SMLoc &EndLoc);
666 bool parseParenExpr(const MCExpr *&Res, SMLoc &EndLoc);
667 bool parseBracketExpr(const MCExpr *&Res, SMLoc &EndLoc);
1535 bool MasmParser::parseParenExpr(const MCExpr *&Res, SMLoc &EndLoc) { in parseParenExpr() argument
1538 EndLoc = Lexer.getTok().getEndLoc(); in parseParenExpr()
1547 bool MasmParser::parseBracketExpr(const MCExpr *&Res, SMLoc &EndLoc) { in parseBracketExpr() argument
[all …]
/openbsd/src/gnu/llvm/llvm/include/llvm/MC/MCParser/
DMCAsmParser.h303 virtual bool parseExpression(const MCExpr *&Res, SMLoc &EndLoc) = 0;
311 virtual bool parsePrimaryExpr(const MCExpr *&Res, SMLoc &EndLoc,
320 virtual bool parseParenExpression(const MCExpr *&Res, SMLoc &EndLoc) = 0;
343 SMLoc &EndLoc) = 0;

12345