Home
last modified time | relevance | path

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

12345

/freebsd/contrib/llvm-project/clang/include/clang/Sema/
H A DSemaOpenMP.h215 SourceLocation EndLoc);
401 Stmt *AStmt, SourceLocation StartLoc, SourceLocation EndLoc,
407 SourceLocation EndLoc);
414 SourceLocation StartLoc, SourceLocation EndLoc,
420 SourceLocation EndLoc);
425 SourceLocation EndLoc);
428 SourceLocation EndLoc);
434 SourceLocation EndLoc);
439 SourceLocation StartLoc, SourceLocation EndLoc,
445 SourceLocation StartLoc, SourceLocation EndLoc,
[all …]
H A DDeclSpec.h1142 SourceLocation EndLoc) { in setConversionFunctionId() argument
1145 EndLocation = EndLoc; in setConversionFunctionId()
1174 SourceLocation EndLoc) { in setConstructorName() argument
1177 EndLocation = EndLoc; in setConstructorName()
1197 SourceLocation EndLoc) { in setDestructorName() argument
1200 EndLocation = EndLoc; in setDestructorName()
1258 SourceLocation EndLoc; member
1261 if (EndLoc.isInvalid()) in getSourceRange()
1263 return SourceRange(Loc, EndLoc); in getSourceRange()
1701 I.EndLoc = RBLoc; in getArray()
[all …]
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DOpenACCClause.cpp52 SourceLocation EndLoc) { in Create() argument
56 return new (Mem) OpenACCDefaultClause(K, BeginLoc, LParenLoc, EndLoc); in Create()
63 SourceLocation EndLoc) { in Create() argument
65 return new (Mem) OpenACCIfClause(BeginLoc, LParenLoc, ConditionExpr, EndLoc); in Create()
70 SourceLocation EndLoc) in OpenACCIfClause() argument
72 ConditionExpr, EndLoc) { in OpenACCIfClause()
83 SourceLocation EndLoc) { in Create() argument
86 OpenACCSelfClause(BeginLoc, LParenLoc, ConditionExpr, EndLoc); in Create()
91 Expr *ConditionExpr, SourceLocation EndLoc) in OpenACCSelfClause() argument
93 ConditionExpr, EndLoc) { in OpenACCSelfClause()
[all …]
H A 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 …]
H A 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()
301 const ASTContext &C, SourceLocation StartLoc, SourceLocation EndLoc, in Create() argument
306 StartLoc, EndLoc, CollapsedNum); in Create()
337 const ASTContext &C, SourceLocation StartLoc, SourceLocation EndLoc, in Create() argument
343 StartLoc, EndLoc, CollapsedNum); in Create()
411 SourceLocation EndLoc, ArrayRef<OMPClause *> Clauses, in Create() argument
415 C, Clauses, AssociatedStmt, TransformedStmtOffset + 1, StartLoc, EndLoc, in Create()
[all …]
H A DOpenMPClause.cpp347 SourceLocation EndLoc) { in Create() argument
350 new (Mem) OMPOrderedClause(Num, NumLoops, StartLoc, LParenLoc, EndLoc); in Create()
396 SourceLocation EndLoc) { in Create() argument
397 return new (C) OMPUpdateClause(StartLoc, EndLoc, /*IsExtended=*/false); in Create()
403 OpenMPDependClauseKind DK, SourceLocation EndLoc) { in Create() argument
408 new (Mem) OMPUpdateClause(StartLoc, EndLoc, /*IsExtended=*/true); in Create()
435 SourceLocation LParenLoc, SourceLocation EndLoc, in Create() argument
440 new (Mem) OMPPrivateClause(StartLoc, LParenLoc, EndLoc, VL.size()); in Create()
466 SourceLocation LParenLoc, SourceLocation EndLoc, in Create() argument
471 new (Mem) OMPFirstprivateClause(StartLoc, LParenLoc, EndLoc, VL.size()); in Create()
[all …]
H A DStmtOpenACC.cpp30 SourceLocation DirLoc, SourceLocation EndLoc, in Create() argument
36 auto *Inst = new (Mem) OpenACCComputeConstruct(K, BeginLoc, DirLoc, EndLoc, in Create()
116 SourceLocation DirLoc, SourceLocation EndLoc, in Create() argument
123 new (Mem) OpenACCLoopConstruct(BeginLoc, DirLoc, EndLoc, Clauses, Loop); in Create()
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DOpenACCClause.h30 SourceLocation EndLoc) in OpenACCClause() argument
31 : Kind(K), Location(BeginLoc, EndLoc) { in OpenACCClause()
32 assert(!BeginLoc.isInvalid() && !EndLoc.isInvalid() && in OpenACCClause()
60 OpenACCAutoClause(SourceLocation BeginLoc, SourceLocation EndLoc) in OpenACCAutoClause() argument
61 : OpenACCClause(OpenACCClauseKind::Auto, BeginLoc, EndLoc) {} in OpenACCAutoClause()
69 Create(const ASTContext &Ctx, SourceLocation BeginLoc, SourceLocation EndLoc);
82 OpenACCIndependentClause(SourceLocation BeginLoc, SourceLocation EndLoc) in OpenACCIndependentClause() argument
83 : OpenACCClause(OpenACCClauseKind::Independent, BeginLoc, EndLoc) {} in OpenACCIndependentClause()
91 Create(const ASTContext &Ctx, SourceLocation BeginLoc, SourceLocation EndLoc);
103 OpenACCSeqClause(SourceLocation BeginLoc, SourceLocation EndLoc) in OpenACCSeqClause() argument
[all …]
H A DStmtOpenMP.h275 SourceLocation EndLoc; variable
305 SourceLocation StartLoc, SourceLocation EndLoc) in OMPExecutableDirective() argument
307 EndLoc(std::move(EndLoc)) {} in OMPExecutableDirective()
504 SourceLocation getEndLoc() const { return EndLoc; } in getEndLoc()
515 void setLocEnd(SourceLocation Loc) { EndLoc = Loc; } in setLocEnd()
638 OMPParallelDirective(SourceLocation StartLoc, SourceLocation EndLoc) in OMPParallelDirective() argument
640 llvm::omp::OMPD_parallel, StartLoc, EndLoc) {} in OMPParallelDirective()
668 Create(const ASTContext &C, SourceLocation StartLoc, SourceLocation EndLoc,
714 SourceLocation StartLoc, SourceLocation EndLoc, in OMPLoopBasedDirective() argument
716 : OMPExecutableDirective(SC, Kind, StartLoc, EndLoc), in OMPLoopBasedDirective()
[all …]
H A 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 …]
H A DAvailability.h40 SourceLocation BeginLoc, EndLoc; variable
44 SourceLocation BeginLoc, SourceLocation EndLoc) in AvailabilitySpec() argument
46 EndLoc(EndLoc) {} in AvailabilitySpec()
50 : BeginLoc(StarLoc), EndLoc(StarLoc) {} in AvailabilitySpec()
55 SourceLocation getEndLoc() const { return EndLoc; } in getEndLoc()
H A DSelectorLocationsKind.h48 SourceLocation EndLoc);
60 SourceLocation EndLoc);
66 SourceLocation EndLoc);
78 SourceLocation EndLoc);
/freebsd/contrib/llvm-project/llvm/lib/Target/MSP430/AsmParser/
H A DMSP430AsmParser.cpp48 bool parseRegister(MCRegister &Reg, SMLoc &StartLoc, SMLoc &EndLoc) override;
50 SMLoc &EndLoc) override;
293 SMLoc &EndLoc) { in parseRegister() argument
294 ParseStatus Res = tryParseRegister(Reg, StartLoc, EndLoc); in parseRegister()
306 SMLoc &EndLoc) { in tryParseRegister() argument
318 EndLoc = T.getEndLoc(); in tryParseRegister()
452 SMLoc StartLoc, EndLoc; in ParseOperand() local
453 if (!parseRegister(RegNo, StartLoc, EndLoc)) { in ParseOperand()
454 Operands.push_back(MSP430Operand::CreateReg(RegNo, StartLoc, EndLoc)); in ParseOperand()
467 SMLoc EndLoc = getParser().getTok().getLoc(); in ParseOperand() local
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/SystemZ/AsmParser/
H A DSystemZAsmParser.cpp93 SMLoc StartLoc, EndLoc; member in __anonde0c959e0111::SystemZOperand
157 SystemZOperand(OperandKind Kind, SMLoc StartLoc, SMLoc EndLoc) in SystemZOperand() argument
158 : Kind(Kind), StartLoc(StartLoc), EndLoc(EndLoc) {} in SystemZOperand()
162 SMLoc EndLoc) { in createInvalid() argument
163 return std::make_unique<SystemZOperand>(KindInvalid, StartLoc, EndLoc); in createInvalid()
174 createReg(RegisterKind Kind, unsigned Num, SMLoc StartLoc, SMLoc EndLoc) { in createReg() argument
175 auto Op = std::make_unique<SystemZOperand>(KindReg, StartLoc, EndLoc); in createReg()
182 createImm(const MCExpr *Expr, SMLoc StartLoc, SMLoc EndLoc) { in createImm() argument
183 auto Op = std::make_unique<SystemZOperand>(KindImm, StartLoc, EndLoc); in createImm()
191 unsigned LengthReg, SMLoc StartLoc, SMLoc EndLoc) { in createMem() argument
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/BPF/AsmParser/
H A DBPFAsmParser.cpp42 bool parseRegister(MCRegister &Reo, SMLoc &StartLoc, SMLoc &EndLoc) override;
44 SMLoc &EndLoc) override;
96 SMLoc StartLoc, EndLoc; member
109 EndLoc = o.EndLoc; in BPFOperand()
149 SMLoc getEndLoc() const override { return EndLoc; } in getEndLoc()
205 Op->EndLoc = S; in createToken()
214 Op->EndLoc = E; in createReg()
223 Op->EndLoc = E; in createImm()
354 SMLoc &EndLoc) { in parseRegister() argument
355 if (!tryParseRegister(Reg, StartLoc, EndLoc).isSuccess()) in parseRegister()
[all …]
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaOpenMP.cpp5988 SourceLocation StartLoc, SourceLocation EndLoc, in mapLoopConstruct() argument
6079 Stmt *AStmt, SourceLocation StartLoc, SourceLocation EndLoc, in ActOnOpenMPExecutableDirective() argument
6098 StartLoc, EndLoc, DirName, CancelRegion); in ActOnOpenMPExecutableDirective()
6276 EndLoc); in ActOnOpenMPExecutableDirective()
6279 Res = ActOnOpenMPSimdDirective(ClausesWithImplicit, AStmt, StartLoc, EndLoc, in ActOnOpenMPExecutableDirective()
6284 ActOnOpenMPTileDirective(ClausesWithImplicit, AStmt, StartLoc, EndLoc); in ActOnOpenMPExecutableDirective()
6288 EndLoc); in ActOnOpenMPExecutableDirective()
6293 Res = ActOnOpenMPReverseDirective(AStmt, StartLoc, EndLoc); in ActOnOpenMPExecutableDirective()
6297 EndLoc); in ActOnOpenMPExecutableDirective()
6300 Res = ActOnOpenMPForDirective(ClausesWithImplicit, AStmt, StartLoc, EndLoc, in ActOnOpenMPExecutableDirective()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/AsmParser/
H A 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()
668 SMLoc EndLoc = SMLoc::getFromPointer(Loc.getPointer() + Str.size()); in CreateToken() local
669 auto Res = std::make_unique<X86Operand>(Token, Loc, EndLoc); in CreateToken()
676 CreateReg(unsigned RegNo, SMLoc StartLoc, SMLoc EndLoc,
679 auto Res = std::make_unique<X86Operand>(Register, StartLoc, EndLoc);
689 CreateDXReg(SMLoc StartLoc, SMLoc EndLoc) { in CreateDXReg()
690 return std::make_unique<X86Operand>(DXRegister, StartLoc, EndLoc); in CreateDXReg()
[all …]
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCoverageMappingGen.cpp314 std::optional<SourceLocation> EndLoc = std::nullopt; in getNonScratchExpansionLoc() local
319 EndLoc = ExpansionRange.getEnd(); in getNonScratchExpansionLoc()
321 return std::make_pair(Loc, EndLoc); in getNonScratchExpansionLoc()
383 auto EndLoc = NonScratchExpansionLoc.second; in gatherFileIDs() local
384 if (EndLoc.has_value()) { in gatherFileIDs()
387 Region.setEndLoc(EndLoc.value()); in gatherFileIDs()
393 auto EndLoc = SM.getSpellingLoc(Region.getEndLoc()); in gatherFileIDs() local
394 if (SM.isWrittenInSameFile(BeginLoc, EndLoc)) { in gatherFileIDs()
950 std::optional<SourceLocation> EndLoc = std::nullopt, in pushRegion()
961 assert((!EndLoc || EndLoc->isValid()) && "End location is not valid"); in pushRegion()
[all …]
H A DCGLoopInfo.h94 const llvm::DebugLoc &StartLoc, const llvm::DebugLoc &EndLoc,
129 llvm::DebugLoc EndLoc; variable
214 const llvm::DebugLoc &EndLoc);
221 const llvm::DebugLoc &EndLoc, bool MustProgress = false);
/freebsd/contrib/llvm-project/clang/lib/Parse/
H A DParseDeclCXX.cpp1126 SourceLocation EndLoc; in ParseDecltypeSpecifier() local
1130 EndLoc = Tok.getAnnotationEndLoc(); in ParseDecltypeSpecifier()
1133 DS.setTypeArgumentRange(SourceRange(SourceLocation(), EndLoc)); in ParseDecltypeSpecifier()
1137 return EndLoc; in ParseDecltypeSpecifier()
1177 EndLoc = ConsumeParen(); in ParseDecltypeSpecifier()
1183 EndLoc = ConsumeAnyToken(); in ParseDecltypeSpecifier()
1186 EndLoc = Tok.getLocation(); in ParseDecltypeSpecifier()
1189 return EndLoc; in ParseDecltypeSpecifier()
1210 EndLoc = T.getCloseLocation(); in ParseDecltypeSpecifier()
1225 return EndLoc; in ParseDecltypeSpecifier()
[all …]
H A DParseDecl.cpp118 SourceLocation EndLoc) { in FindLocsWithCommonFileID() argument
119 if (!StartLoc.isMacroID() || !EndLoc.isMacroID()) in FindLocsWithCommonFileID()
123 if (SM.getFileID(StartLoc) != SM.getFileID(EndLoc)) in FindLocsWithCommonFileID()
129 Lexer::isAtEndOfMacroExpansion(EndLoc, SM, PP.getLangOpts()); in FindLocsWithCommonFileID()
195 SourceLocation EndLoc = StartLoc; in ParseGNUAttributes() local
258 ParseGNUAttributeArgs(AttrName, AttrNameLoc, Attrs, &EndLoc, nullptr, in ParseGNUAttributes()
291 EndLoc = Loc; in ParseGNUAttributes()
313 Attrs.Range = SourceRange(StartLoc, EndLoc); in ParseGNUAttributes()
521 ParsedAttributes &Attrs, SourceLocation *EndLoc, IdentifierInfo *ScopeName, in ParseAttributeArgsCommon() argument
661 if (EndLoc) in ParseAttributeArgsCommon()
[all …]
/freebsd/contrib/llvm-project/clang/lib/Tooling/Refactoring/Rename/
H A DUSRFinder.cpp87 SourceLocation EndLoc = CurrDecl->getEndLoc(); in getNamedDeclAt() local
88 if (StartLoc.isValid() && EndLoc.isValid() && in getNamedDeclAt()
90 SM.isBeforeInTranslationUnit(EndLoc, Point)) in getNamedDeclAt()
/freebsd/contrib/llvm-project/llvm/lib/Target/Xtensa/AsmParser/
H A DXtensaAsmParser.cpp47 bool parseRegister(MCRegister &Reg, SMLoc &StartLoc, SMLoc &EndLoc) override;
73 SMLoc &EndLoc) override { in tryParseRegister() argument
119 SMLoc StartLoc, EndLoc; member
132 EndLoc = o.EndLoc; in XtensaOperand()
259 SMLoc getEndLoc() const override { return EndLoc; } in getEndLoc()
295 Op->EndLoc = S; in createToken()
304 Op->EndLoc = E; in createReg()
313 Op->EndLoc = E; in createImm()
534 SMLoc &EndLoc) { in parseRegister() argument
537 EndLoc = Tok.getEndLoc(); in parseRegister()
/freebsd/contrib/llvm-project/clang/lib/ARCMigrate/
H A DObjCMT.cpp266 SourceLocation EndLoc = Msg->getSelectorLoc(0); in rewriteToPropertyDotSyntax() local
267 SourceRange SpaceRange(BegLoc, EndLoc); in rewriteToPropertyDotSyntax()
296 SourceLocation EndLoc = RHS->getBeginLoc(); in rewriteToPropertyDotSyntax() local
297 EndLoc = EndLoc.getLocWithOffset(-1); in rewriteToPropertyDotSyntax()
298 const char *colon = PP.getSourceManager().getCharacterData(EndLoc); in rewriteToPropertyDotSyntax()
302 SourceRange Range(BegLoc, EndLoc); in rewriteToPropertyDotSyntax()
551 SourceLocation EndLoc = Setter->getDeclaratorEndLoc(); in rewriteToObjCProperty() local
553 EndLoc = EndLoc.getLocWithOffset(1); in rewriteToObjCProperty()
558 commit.remove(SourceRange(BeginOfSetterDclLoc, EndLoc)); in rewriteToObjCProperty()
664 SourceLocation EndLoc = in rewriteToObjCInterfaceDecl() local
[all …]
/freebsd/contrib/llvm-project/llvm/lib/MC/MCParser/
H A DAsmParser.cpp271 bool parseExpression(const MCExpr *&Res, SMLoc &EndLoc) override;
272 bool parsePrimaryExpr(const MCExpr *&Res, SMLoc &EndLoc,
274 bool parseParenExpression(const MCExpr *&Res, SMLoc &EndLoc) override;
276 SMLoc &EndLoc) override;
371 bool parseBinOpRHS(unsigned Precedence, const MCExpr *&Res, SMLoc &EndLoc);
372 bool parseParenExpr(const MCExpr *&Res, SMLoc &EndLoc);
373 bool parseBracketExpr(const MCExpr *&Res, SMLoc &EndLoc);
1131 bool AsmParser::parseParenExpr(const MCExpr *&Res, SMLoc &EndLoc) { in parseParenExpr() argument
1134 EndLoc = Lexer.getTok().getEndLoc(); in parseParenExpr()
1143 bool AsmParser::parseBracketExpr(const MCExpr *&Res, SMLoc &EndLoc) { in parseBracketExpr() argument
[all …]

12345