Home
last modified time | relevance | path

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

1234

/freebsd-12.1/contrib/llvm/tools/clang/include/clang/AST/
H A DStmtOpenMP.h40 SourceLocation EndLoc; variable
71 EndLoc(std::move(EndLoc)), NumClauses(NumClauses), in OMPExecutableDirective()
170 SourceLocation getEndLoc() const { return EndLoc; } in getEndLoc()
181 void setLocEnd(SourceLocation Loc) { EndLoc = Loc; } in setLocEnd()
1327 StartLoc, EndLoc, 0, 1), in OMPSectionDirective()
1440 StartLoc, EndLoc, 0, 1) {} in OMPMasterDirective()
1523 SourceLocation StartLoc, SourceLocation EndLoc,
1785 EndLoc, NumClauses, 1), in OMPTaskDirective()
1812 SourceLocation EndLoc,
1848 StartLoc, EndLoc, 0, 0) {} in OMPTaskyieldDirective()
[all …]
H A DOpenMPClause.h56 SourceLocation EndLoc; variable
63 : StartLoc(StartLoc), EndLoc(EndLoc), Kind(K) {} in OMPClause()
350 SourceLocation EndLoc) in OMPFinalClause() argument
407 SourceLocation EndLoc) in OMPNumThreadsClause() argument
466 SourceLocation EndLoc) in OMPSafelenClause() argument
520 SourceLocation EndLoc) in OMPSimdlenClause() argument
638 SourceLocation EndLoc) in OMPDefaultClause() argument
708 SourceLocation EndLoc) in OMPProcBindClause() argument
3456 SourceLocation EndLoc) in OMPDeviceClause() argument
4304 SourceLocation EndLoc) in OMPNumTeamsClause() argument
[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.h49 SourceLocation EndLoc);
61 SourceLocation EndLoc);
67 SourceLocation EndLoc);
79 SourceLocation EndLoc);
/freebsd-12.1/contrib/llvm/tools/clang/lib/AST/
H A DSelectorLocationsKind.cpp24 SourceLocation EndLoc) { in getStandardSelLoc() argument
28 if (EndLoc.isInvalid()) in getStandardSelLoc()
32 return EndLoc.getLocWithOffset(-Len); in getStandardSelLoc()
78 Args, EndLoc)) in hasStandardSelLocs()
87 Args, EndLoc)) in hasStandardSelLocs()
100 SourceLocation EndLoc) { in hasStandardSelectorLocs() argument
101 return hasStandardSelLocs(Sel, SelLocs, Args, EndLoc); in hasStandardSelectorLocs()
110 getArgLoc(Index, Args), EndLoc); in getStandardSelectorLoc()
117 SourceLocation EndLoc) { in hasStandardSelectorLocs() argument
118 return hasStandardSelLocs(Sel, SelLocs, Args, EndLoc); in hasStandardSelectorLocs()
[all …]
H A DStmtOpenMP.cpp84 SourceLocation EndLoc, unsigned CollapsedNum, in Create() argument
124 SourceLocation EndLoc, unsigned CollapsedNum, in Create() argument
312 SourceLocation StartLoc, SourceLocation EndLoc, in Create() argument
394 StartLoc, EndLoc, CollapsedNum, Clauses.size()); in Create()
487 new (Mem) OMPTaskyieldDirective(StartLoc, EndLoc); in Create()
557 new (Mem) OMPCancellationPointDirective(StartLoc, EndLoc); in Create()
734 StartLoc, EndLoc, CollapsedNum, Clauses.size()); in Create()
1181 StartLoc, EndLoc, CollapsedNum, Clauses.size()); in Create()
1325 StartLoc, EndLoc, CollapsedNum, Clauses.size()); in Create()
1646 StartLoc, EndLoc, CollapsedNum, Clauses.size()); in Create()
[all …]
H A DOpenMPClause.cpp199 SourceLocation EndLoc) { in Create() argument
254 SourceLocation LParenLoc, SourceLocation EndLoc, in Create() argument
259 new (Mem) OMPPrivateClause(StartLoc, LParenLoc, EndLoc, VL.size()); in Create()
358 SourceLocation EndLoc, in Create() argument
362 new (Mem) OMPSharedClause(StartLoc, LParenLoc, EndLoc, VL.size()); in Create()
399 SourceLocation ColonLoc, SourceLocation EndLoc, ArrayRef<Expr *> VL, in Create() argument
704 SourceLocation EndLoc, in Create() argument
796 SourceLocation LParenLoc, SourceLocation EndLoc, in Create() argument
900 SourceLocation LParenLoc, SourceLocation EndLoc, in Create() argument
987 StartLoc, LParenLoc, EndLoc, NumVars, NumUniqueDeclarations, in Create()
[all …]
/freebsd-12.1/contrib/llvm/lib/Target/MSP430/AsmParser/
H A DMSP430AsmParser.cpp290 SMLoc &EndLoc) { in ParseRegister() argument
302 EndLoc = T.getEndLoc(); in ParseRegister()
441 SMLoc StartLoc, EndLoc; in ParseOperand() local
442 if (!ParseRegister(RegNo, StartLoc, EndLoc)) { in ParseOperand()
456 SMLoc EndLoc = getParser().getTok().getLoc(); in ParseOperand() local
465 EndLoc = getParser().getTok().getEndLoc(); in ParseOperand()
469 EndLoc)); in ParseOperand()
480 SMLoc EndLoc = getParser().getTok().getLoc(); in ParseOperand() local
482 EndLoc)); in ParseOperand()
492 SMLoc RegStartLoc, EndLoc; in ParseOperand() local
[all …]
/freebsd-12.1/contrib/llvm/tools/clang/lib/Tooling/Refactoring/Rename/
H A DUSRLocFinder.cpp201 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()
270 RenameInfos.push_back({EndLoc, EndLoc, in VisitDeclRefExpr()
307 assert(EndLoc.isValid() && in VisitDeclRefExpr()
313 EndLoc, in VisitDeclRefExpr()
389 auto EndLoc = EndLocationForType(Loc); in VisitTypeLoc() local
392 EndLoc, in VisitTypeLoc()
424 auto EndLoc = EndLocationForType(TargetLoc); in VisitTypeLoc() local
[all …]
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-12.1/contrib/llvm/lib/Target/X86/AsmParser/
H A DX86Operand.h35 SMLoc StartLoc, EndLoc; member
81 : Kind(K), StartLoc(Start), EndLoc(End) {} in X86Operand()
90 SMLoc getEndLoc() const override { return EndLoc; } in getEndLoc()
94 SMRange getLocRange() const { return SMRange(StartLoc, EndLoc); } in getLocRange()
527 auto Res = llvm::make_unique<X86Operand>(Token, Loc, EndLoc); in CreateToken()
534 CreateReg(unsigned RegNo, SMLoc StartLoc, SMLoc EndLoc,
547 CreateDXReg(SMLoc StartLoc, SMLoc EndLoc) { in CreateDXReg()
548 return llvm::make_unique<X86Operand>(DXRegister, StartLoc, EndLoc); in CreateDXReg()
552 CreatePrefix(unsigned Prefixes, SMLoc StartLoc, SMLoc EndLoc) { in CreatePrefix()
553 auto Res = llvm::make_unique<X86Operand>(Prefix, StartLoc, EndLoc); in CreatePrefix()
[all …]
/freebsd-12.1/contrib/llvm/lib/Target/SystemZ/AsmParser/
H A DSystemZAsmParser.cpp88 SMLoc StartLoc, EndLoc; member in __anone89483630111::SystemZOperand
202 SMLoc StartLoc, SMLoc EndLoc) { in createImmTLS() argument
286 SMLoc getEndLoc() const override { return EndLoc; } in getEndLoc()
405 SMLoc StartLoc, EndLoc; member
731 Reg.EndLoc = Parser.getTok().getLoc(); in parseRegister()
792 SMLoc EndLoc = in parseAnyRegister() local
1008 SMLoc EndLoc = in parseAddress() local
1084 SMLoc EndLoc = in ParseDirectiveInsn() local
1143 EndLoc = Reg.EndLoc; in ParseRegister()
1227 SMLoc EndLoc = in parseOperand() local
[all …]
/freebsd-12.1/contrib/llvm/tools/clang/lib/Sema/
H A DSemaOpenMP.cpp3422 EndLoc); in ActOnOpenMPExecutableDirective()
3439 EndLoc); in ActOnOpenMPExecutableDirective()
3448 EndLoc); in ActOnOpenMPExecutableDirective()
3511 EndLoc); in ActOnOpenMPExecutableDirective()
3515 EndLoc); in ActOnOpenMPExecutableDirective()
3523 EndLoc); in ActOnOpenMPExecutableDirective()
9071 StartLoc, LParenLoc, EndLoc); in ActOnOpenMPOrderedClause()
9089 LParenLoc, EndLoc); in ActOnOpenMPSimpleClause()
9240 SourceLocation EndLoc) { in ActOnOpenMPSingleExprWithArgClause() argument
9271 EndLoc); in ActOnOpenMPSingleExprWithArgClause()
[all …]
/freebsd-12.1/contrib/llvm/tools/clang/lib/CodeGen/
H A DCoverageMappingGen.cpp592 EndLoc = getPreciseTokenLocEnd(getIncludeOrExpansionLoc(EndLoc)); in popRegions()
593 if (EndLoc.isInvalid()) in popRegions()
613 Region.setEndLoc(EndLoc); in popRegions()
615 MostRecentLocation = EndLoc; in popRegions()
619 EndLoc == getEndOfFileOrMacro(EndLoc)) in popRegions()
634 !EndLoc.isMacroID()) in popRegions()
674 MostRecentLocation = EndLoc; in propagateCounts()
694 MostRecentLocation = EndLoc; in adjustForOutOfOrderTraversal()
792 Region.setEndLoc(EndLoc); in terminateRegion()
821 if (StartLoc == EndLoc) in fillGapAreaWithCount()
[all …]
H A DCGLoopInfo.cpp24 const llvm::DebugLoc &EndLoc, MDNode *&AccGroup) { in createMetadata() argument
34 !EndLoc) in createMetadata()
47 if (EndLoc) in createMetadata()
48 Args.push_back(EndLoc.getAsMDNode()); in createMetadata()
177 const llvm::DebugLoc &StartLoc, const llvm::DebugLoc &EndLoc) in LoopInfo() argument
180 createMetadata(Header->getContext(), Attrs, StartLoc, EndLoc, AccGroup); in LoopInfo()
184 const llvm::DebugLoc &EndLoc) { in push() argument
185 Active.push_back(LoopInfo(Header, StagedAttrs, StartLoc, EndLoc)); in push()
193 const llvm::DebugLoc &EndLoc) { in push() argument
363 push(Header, StartLoc, EndLoc); in push()
H A DCGLoopInfo.h82 const llvm::DebugLoc &StartLoc, const llvm::DebugLoc &EndLoc);
120 const llvm::DebugLoc &EndLoc);
126 const llvm::DebugLoc &EndLoc);
/freebsd-12.1/contrib/llvm/lib/Target/BPF/AsmParser/
H A DBPFAsmParser.cpp41 bool ParseRegister(unsigned &RegNo, SMLoc &StartLoc, SMLoc &EndLoc) override;
95 SMLoc StartLoc, EndLoc; member
108 EndLoc = o.EndLoc; in BPFOperand()
144 SMLoc getEndLoc() const override { return EndLoc; } in getEndLoc()
200 Op->EndLoc = S; in createToken()
209 Op->EndLoc = E; in createReg()
218 Op->EndLoc = E; in createImm()
324 SMLoc &EndLoc) { in ParseRegister() argument
327 EndLoc = Tok.getEndLoc(); in ParseRegister()
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/Sema/
H A DSema.h3741 SourceLocation EndLoc);
3889 SourceLocation EndLoc);
8181 SourceLocation EndLoc, // location of the ; or {.
9118 SourceLocation EndLoc);
9183 SourceLocation EndLoc);
9192 SourceLocation EndLoc);
9250 SourceLocation ColonLoc, SourceLocation EndLoc,
9332 SourceLocation EndLoc);
9362 SourceLocation CommaLoc, SourceLocation EndLoc);
9367 SourceLocation KindLoc, SourceLocation EndLoc);
[all …]
H A DDeclSpec.h1055 EndLocation = EndLoc; in setConversionFunctionId()
1087 EndLocation = EndLoc; in setConstructorName()
1110 EndLocation = EndLoc; in setDestructorName()
1156 SourceLocation EndLoc; member
1159 if (EndLoc.isInvalid()) in getSourceRange()
1581 I.EndLoc = RBLoc; in getArray()
1641 I.EndLoc = Loc; in getMemberPointer()
2156 if (!EndLoc.isInvalid()) in AddTypeInfo()
2157 SetRangeEnd(EndLoc); in AddTypeInfo()
2165 if (!EndLoc.isInvalid()) in AddTypeInfo()
[all …]
/freebsd-12.1/contrib/llvm/tools/clang/lib/Parse/
H A DParser.cpp99 << FixItHint::CreateInsertion(EndLoc, ")"); in SuggestParentheses()
139 if (EndLoc.isValid()) in ExpectAndConsume()
144 ? Diag(EndLoc, DiagID) << FixItHint::CreateInsertion(EndLoc, Spelling) in ExpectAndConsume()
183 SourceLocation EndLoc = Tok.getLocation(); in ConsumeExtraSemi() local
188 EndLoc = Tok.getLocation(); in ConsumeExtraSemi()
725 SourceLocation EndLoc; in ParseExternalDeclaration() local
1441 if (EndLoc) in ParseSimpleAsm()
1442 *EndLoc = T.getCloseLocation(); in ParseSimpleAsm()
1444 if (EndLoc) in ParseSimpleAsm()
1445 *EndLoc = Tok.getLocation(); in ParseSimpleAsm()
[all …]
H A DParseStmtAsm.cpp397 SourceLocation EndLoc = AsmLoc; in ParseMicrosoftAsmStatement() local
414 EndLoc = ConsumeBrace(); in ParseMicrosoftAsmStatement()
415 LBraceLocs.push_back(EndLoc); in ParseMicrosoftAsmStatement()
420 SrcMgr.getDecomposedExpansionLoc(EndLoc); in ParseMicrosoftAsmStatement()
436 EndLoc = ConsumeBrace(); in ParseMicrosoftAsmStatement()
438 LBraceLocs.push_back(EndLoc); in ParseMicrosoftAsmStatement()
498 EndLoc = ConsumeBrace(); in ParseMicrosoftAsmStatement()
514 EndLoc = TokLoc; in ParseMicrosoftAsmStatement()
572 ConstraintRefs, ClobberRefs, Exprs, EndLoc); in ParseMicrosoftAsmStatement()
667 ClobberRefs, Exprs, EndLoc); in ParseMicrosoftAsmStatement()
H A DParseDecl.cpp347 if (EndLoc) in ParseAttributeArgsCommon()
348 *EndLoc = RParen; in ParseAttributeArgsCommon()
688 if (EndLoc.isValid()) { in DiagnoseAndSkipExtendedMicrosoftTypeAttributes()
695 SourceLocation EndLoc; in SkipExtendedMicrosoftTypeAttributes() local
715 return EndLoc; in SkipExtendedMicrosoftTypeAttributes()
1243 if (EndLoc) in ParseExternalSourceSymbolAttribute()
1544 if (EndLoc) in ParseTypeTagForDatatypeAttribute()
2766 if (EndLoc) in ParseAlignmentSpecifier()
5143 SourceLocation EndLoc; in ParseTypeQualifierListOpt() local
6101 EndLoc = RParenLoc; in ParseFunctionDeclarator()
[all …]
/freebsd-12.1/contrib/llvm/include/llvm/MC/MCParser/
H A DMCAsmParser.h268 virtual bool parseExpression(const MCExpr *&Res, SMLoc &EndLoc) = 0;
276 virtual bool parsePrimaryExpr(const MCExpr *&Res, SMLoc &EndLoc) = 0;
284 virtual bool parseParenExpression(const MCExpr *&Res, SMLoc &EndLoc) = 0;
307 SMLoc &EndLoc) = 0;
/freebsd-12.1/contrib/llvm/lib/MC/MCParser/
H A DAsmParser.cpp1016 EndLoc = Lexer.getTok().getEndLoc(); in parseParenExpr()
1029 EndLoc = getTok().getEndLoc(); in parseBracketExpr()
1072 EndLoc = FirstTokenLoc; in parsePrimaryExpr()
1255 if (parseExpression(Res, EndLoc)) in parsePrimaryExpr()
1266 SMLoc EndLoc; in parseExpression() local
1377 parseBinOpRHS(1, Res, EndLoc)) in parseExpression()
1415 return parseParenExpr(Res, EndLoc) || parseBinOpRHS(1, Res, EndLoc); in parseParenExpression()
1420 if (parseParenExpr(Res, EndLoc)) in parseParenExprOfDepth()
1430 EndLoc = getTok().getEndLoc(); in parseParenExprOfDepth()
2642 SMLoc EndLoc; in parseMacroArguments() local
[all …]
/freebsd-12.1/contrib/llvm/tools/clang/lib/ARCMigrate/
H A DObjCMT.cpp267 SourceRange SpaceRange(BegLoc, EndLoc); in rewriteToPropertyDotSyntax()
297 EndLoc = EndLoc.getLocWithOffset(-1); in rewriteToPropertyDotSyntax()
302 SourceRange Range(BegLoc, EndLoc); in rewriteToPropertyDotSyntax()
554 EndLoc = EndLoc.getLocWithOffset(1); in rewriteToObjCProperty()
667 SourceLocation EndLoc = in rewriteToObjCInterfaceDecl() local
687 EndLoc = *PL; in rewriteToObjCInterfaceDecl()
690 commit.insertAfterToken(EndLoc, ClassString); in rewriteToObjCInterfaceDecl()
777 if (EndLoc.isInvalid()) in rewriteToNSMacroDecl()
1402 SourceLocation EndLoc = LastFD->getEndLoc(); in AnnotateImplicitBridging() local
1404 EndLoc = PP.getLocForEndOfToken(EndLoc); in AnnotateImplicitBridging()
[all …]

1234