Home
last modified time | relevance | path

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

12345

/netbsd-src/external/apache2/llvm/dist/clang/include/clang/AST/
H A DStmtOpenMP.h275 SourceLocation EndLoc; variable
296 SourceLocation StartLoc, SourceLocation EndLoc) in OMPExecutableDirective() argument
298 EndLoc(std::move(EndLoc)) {} in OMPExecutableDirective()
485 SourceLocation getEndLoc() const { return EndLoc; } in getEndLoc()
496 void setLocEnd(SourceLocation Loc) { EndLoc = Loc; } in setLocEnd()
617 OMPParallelDirective(SourceLocation StartLoc, SourceLocation EndLoc) in OMPParallelDirective() argument
619 llvm::omp::OMPD_parallel, StartLoc, EndLoc) {} in OMPParallelDirective()
647 Create(const ASTContext &C, SourceLocation StartLoc, SourceLocation EndLoc,
693 SourceLocation StartLoc, SourceLocation EndLoc, in OMPLoopBasedDirective() argument
695 : OMPExecutableDirective(SC, Kind, StartLoc, EndLoc), in OMPLoopBasedDirective()
[all …]
H A 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()
H A DOpenMPClause.h59 SourceLocation EndLoc; variable
65 OMPClause(OpenMPClauseKind K, SourceLocation StartLoc, SourceLocation EndLoc) in OMPClause() argument
66 : StartLoc(StartLoc), EndLoc(EndLoc), Kind(K) {} in OMPClause()
73 SourceLocation getEndLoc() const { return EndLoc; } in getEndLoc()
79 void setLocEnd(SourceLocation Loc) { EndLoc = Loc; } in setLocEnd()
181 SourceLocation EndLoc; member
184 SourceLocation EndLoc) in OMPVarListLocTy()
185 : StartLoc(StartLoc), LParenLoc(LParenLoc), EndLoc(EndLoc) {} in OMPVarListLocTy()
209 SourceLocation LParenLoc, SourceLocation EndLoc, unsigned N) in OMPVarListClause() argument
210 : OMPClause(K, StartLoc, EndLoc), LParenLoc(LParenLoc), NumVars(N) {} in OMPVarListClause()
[all …]
H A DSelectorLocationsKind.h48 SourceLocation EndLoc);
60 SourceLocation EndLoc);
66 SourceLocation EndLoc);
78 SourceLocation EndLoc);
/netbsd-src/external/apache2/llvm/dist/clang/lib/AST/
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.cpp238 const ASTContext &C, SourceLocation StartLoc, SourceLocation EndLoc, in Create() argument
242 C, Clauses, AssociatedStmt, /*NumChildren=*/1, StartLoc, EndLoc); in Create()
258 SourceLocation EndLoc, unsigned CollapsedNum, in Create() argument
263 StartLoc, EndLoc, CollapsedNum); in Create()
293 const ASTContext &C, SourceLocation StartLoc, SourceLocation EndLoc, in Create() argument
298 StartLoc, EndLoc, CollapsedNum); in Create()
339 SourceLocation EndLoc, ArrayRef<OMPClause *> Clauses, in Create() argument
343 C, Clauses, AssociatedStmt, TransformedStmtOffset + 1, StartLoc, EndLoc, in Create()
360 SourceLocation EndLoc, unsigned CollapsedNum, in Create() argument
365 StartLoc, EndLoc, CollapsedNum); in Create()
[all …]
H A DOpenMPClause.cpp327 SourceLocation EndLoc) { in Create() argument
330 new (Mem) OMPOrderedClause(Num, NumLoops, StartLoc, LParenLoc, EndLoc); in Create()
376 SourceLocation EndLoc) { in Create() argument
377 return new (C) OMPUpdateClause(StartLoc, EndLoc, /*IsExtended=*/false); in Create()
383 OpenMPDependClauseKind DK, SourceLocation EndLoc) { in Create() argument
388 new (Mem) OMPUpdateClause(StartLoc, EndLoc, /*IsExtended=*/true); in Create()
415 SourceLocation LParenLoc, SourceLocation EndLoc, in Create() argument
420 new (Mem) OMPPrivateClause(StartLoc, LParenLoc, EndLoc, VL.size()); in Create()
446 SourceLocation LParenLoc, SourceLocation EndLoc, in Create() argument
451 new (Mem) OMPFirstprivateClause(StartLoc, LParenLoc, EndLoc, VL.size()); in Create()
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/MSP430/AsmParser/
H A DMSP430AsmParser.cpp47 bool ParseRegister(unsigned &RegNo, SMLoc &StartLoc, SMLoc &EndLoc) override;
49 SMLoc &EndLoc) override;
291 SMLoc &EndLoc) { in ParseRegister() argument
292 switch (tryParseRegister(RegNo, StartLoc, EndLoc)) { in ParseRegister()
306 SMLoc &EndLoc) { in tryParseRegister() argument
318 EndLoc = T.getEndLoc(); in tryParseRegister()
457 SMLoc StartLoc, EndLoc; in ParseOperand() local
458 if (!ParseRegister(RegNo, StartLoc, EndLoc)) { in ParseOperand()
459 Operands.push_back(MSP430Operand::CreateReg(RegNo, StartLoc, EndLoc)); in ParseOperand()
472 SMLoc EndLoc = getParser().getTok().getLoc(); in ParseOperand() local
[all …]
/netbsd-src/external/apache2/llvm/dist/clang/lib/Tooling/Refactoring/Rename/
H A 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 …]
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()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/SystemZ/AsmParser/
H A DSystemZAsmParser.cpp88 SMLoc StartLoc, EndLoc; member in __anond0f948490111::SystemZOperand
153 : Kind(kind), StartLoc(startLoc), EndLoc(endLoc) {} in SystemZOperand()
157 SMLoc EndLoc) { in createInvalid() argument
158 return std::make_unique<SystemZOperand>(KindInvalid, StartLoc, EndLoc); in createInvalid()
169 createReg(RegisterKind Kind, unsigned Num, SMLoc StartLoc, SMLoc EndLoc) { in createReg() argument
170 auto Op = std::make_unique<SystemZOperand>(KindReg, StartLoc, EndLoc); in createReg()
177 createImm(const MCExpr *Expr, SMLoc StartLoc, SMLoc EndLoc) { in createImm() argument
178 auto Op = std::make_unique<SystemZOperand>(KindImm, StartLoc, EndLoc); in createImm()
186 unsigned LengthReg, SMLoc StartLoc, SMLoc EndLoc) { in createMem() argument
187 auto Op = std::make_unique<SystemZOperand>(KindMem, StartLoc, EndLoc); in createMem()
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/BPF/AsmParser/
H A DBPFAsmParser.cpp41 bool ParseRegister(unsigned &RegNo, SMLoc &StartLoc, SMLoc &EndLoc) override;
43 SMLoc &EndLoc) override;
97 SMLoc StartLoc, EndLoc; member
110 EndLoc = o.EndLoc; in BPFOperand()
146 SMLoc getEndLoc() const override { return EndLoc; } in getEndLoc()
202 Op->EndLoc = S; in createToken()
211 Op->EndLoc = E; in createReg()
220 Op->EndLoc = E; in createImm()
326 SMLoc &EndLoc) { in ParseRegister() argument
327 if (tryParseRegister(RegNo, StartLoc, EndLoc) != MatchOperand_Success) in ParseRegister()
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/X86/AsmParser/
H A DX86Operand.h32 SMLoc StartLoc, EndLoc; member
81 : Kind(K), StartLoc(Start), EndLoc(End), CallOperand(false) {} in X86Operand()
90 SMLoc getEndLoc() const override { return EndLoc; } in getEndLoc()
94 SMRange getLocRange() const { return SMRange(StartLoc, EndLoc); } in getLocRange()
616 SMLoc EndLoc = SMLoc::getFromPointer(Loc.getPointer() + Str.size()); in CreateToken() local
617 auto Res = std::make_unique<X86Operand>(Token, Loc, EndLoc); in CreateToken()
624 CreateReg(unsigned RegNo, SMLoc StartLoc, SMLoc EndLoc,
627 auto Res = std::make_unique<X86Operand>(Register, StartLoc, EndLoc);
637 CreateDXReg(SMLoc StartLoc, SMLoc EndLoc) { in CreateDXReg()
638 return std::make_unique<X86Operand>(DXRegister, StartLoc, EndLoc); in CreateDXReg()
[all …]
/netbsd-src/external/apache2/llvm/dist/clang/lib/Sema/
H A DSemaOpenMP.cpp5709 Stmt *AStmt, SourceLocation StartLoc, SourceLocation EndLoc) { in ActOnOpenMPExecutableDirective() argument
5837 EndLoc); in ActOnOpenMPExecutableDirective()
5841 Res = ActOnOpenMPSimdDirective(ClausesWithImplicit, AStmt, StartLoc, EndLoc, in ActOnOpenMPExecutableDirective()
5848 ActOnOpenMPTileDirective(ClausesWithImplicit, AStmt, StartLoc, EndLoc); in ActOnOpenMPExecutableDirective()
5851 Res = ActOnOpenMPForDirective(ClausesWithImplicit, AStmt, StartLoc, EndLoc, in ActOnOpenMPExecutableDirective()
5856 EndLoc, VarsWithInheritedDSA); in ActOnOpenMPExecutableDirective()
5862 EndLoc); in ActOnOpenMPExecutableDirective()
5867 Res = ActOnOpenMPSectionDirective(AStmt, StartLoc, EndLoc); in ActOnOpenMPExecutableDirective()
5871 EndLoc); in ActOnOpenMPExecutableDirective()
5876 Res = ActOnOpenMPMasterDirective(AStmt, StartLoc, EndLoc); in ActOnOpenMPExecutableDirective()
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/CSKY/AsmParser/
H A DCSKYAsmParser.cpp45 bool ParseRegister(unsigned &RegNo, SMLoc &StartLoc, SMLoc &EndLoc) override;
53 SMLoc &EndLoc) override;
98 SMLoc StartLoc, EndLoc; member
111 EndLoc = o.EndLoc; in CSKYOperand()
194 SMLoc getEndLoc() const override { return EndLoc; } in getEndLoc()
229 Op->EndLoc = S; in createToken()
238 Op->EndLoc = E; in createReg()
247 Op->EndLoc = E; in createImm()
396 SMLoc &EndLoc) { in ParseRegister() argument
399 EndLoc = Tok.getEndLoc(); in ParseRegister()
[all …]
/netbsd-src/external/apache2/llvm/dist/clang/lib/CodeGen/
H A DCoverageMappingGen.cpp578 Optional<SourceLocation> EndLoc = None, in pushRegion()
585 RegionStack.emplace_back(Count, FalseCount, StartLoc, EndLoc); in pushRegion()
609 SourceLocation EndLoc = Region.hasEndLoc() in popRegions() local
614 size_t EndDepth = locationDepth(EndLoc); in popRegions()
615 while (!SM.isWrittenInSameFile(StartLoc, EndLoc)) { in popRegions()
625 SourceLocation NestedLoc = getStartOfFileOrMacro(EndLoc); in popRegions()
626 assert(SM.isWrittenInSameFile(NestedLoc, EndLoc)); in popRegions()
628 if (!isBranch && !isRegionAlreadyAdded(NestedLoc, EndLoc)) in popRegions()
630 EndLoc); in popRegions()
632 EndLoc = getPreciseTokenLocEnd(getIncludeOrExpansionLoc(EndLoc)); in popRegions()
[all …]
H A 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);
H A DCGLoopInfo.cpp426 if (EndLoc) in createMetadata()
427 LoopProperties.push_back(EndLoc.getAsMDNode()); in createMetadata()
475 const llvm::DebugLoc &StartLoc, const llvm::DebugLoc &EndLoc, in LoopInfo() argument
477 : Header(Header), Attrs(Attrs), StartLoc(StartLoc), EndLoc(EndLoc), in LoopInfo()
496 !EndLoc && !Attrs.MustProgress) in LoopInfo()
587 const llvm::DebugLoc &EndLoc) { in push() argument
589 new LoopInfo(Header, StagedAttrs, StartLoc, EndLoc, in push()
599 const llvm::DebugLoc &EndLoc, bool MustProgress) { in push() argument
801 push(Header, StartLoc, EndLoc); in push()
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/Sema/
H A DSema.h4641 SourceLocation EndLoc);
4796 SourceLocation EndLoc);
6587 SourceLocation EndLoc,
6691 ExprResult BuildLambdaExpr(SourceLocation StartLoc, SourceLocation EndLoc,
9680 SourceLocation EndLoc, // location of the ; or {.
10025 void PopPragmaVisibility(bool IsNamespaceEnd, SourceLocation EndLoc);
10486 Stmt *AStmt, SourceLocation StartLoc, SourceLocation EndLoc);
10492 SourceLocation EndLoc);
10499 SourceLocation StartLoc, SourceLocation EndLoc,
10505 SourceLocation EndLoc);
[all …]
H A DDeclSpec.h1067 SourceLocation EndLoc) { in setConversionFunctionId() argument
1070 EndLocation = EndLoc; in setConversionFunctionId()
1099 SourceLocation EndLoc) { in setConstructorName() argument
1102 EndLocation = EndLoc; in setConstructorName()
1122 SourceLocation EndLoc) { in setDestructorName() argument
1125 EndLocation = EndLoc; in setDestructorName()
1183 SourceLocation EndLoc; member
1186 if (EndLoc.isInvalid()) in getSourceRange()
1188 return SourceRange(Loc, EndLoc); in getSourceRange()
1614 I.EndLoc = RBLoc; in getArray()
[all …]
/netbsd-src/external/apache2/llvm/dist/clang/lib/Parse/
H A DParseDecl.cpp91 SourceLocation EndLoc) { in FindLocsWithCommonFileID() argument
92 if (!StartLoc.isMacroID() || !EndLoc.isMacroID()) in FindLocsWithCommonFileID()
96 if (SM.getFileID(StartLoc) != SM.getFileID(EndLoc)) in FindLocsWithCommonFileID()
102 Lexer::isAtEndOfMacroExpansion(EndLoc, SM, PP.getLangOpts()); in FindLocsWithCommonFileID()
166 SourceLocation *EndLoc, in ParseGNUAttributes() argument
172 if (!EndLoc) in ParseGNUAttributes()
173 EndLoc = &Loc; in ParseGNUAttributes()
212 ParseGNUAttributeArgs(AttrName, AttrNameLoc, Attrs, EndLoc, nullptr, in ParseGNUAttributes()
245 if (EndLoc) in ParseGNUAttributes()
246 *EndLoc = Loc; in ParseGNUAttributes()
[all …]
H A DParser.cpp89 SourceLocation EndLoc = PP.getLocForEndOfToken(ParenRange.getEnd()); in SuggestParentheses() local
90 if (!ParenRange.getEnd().isFileID() || EndLoc.isInvalid()) { in SuggestParentheses()
99 << FixItHint::CreateInsertion(EndLoc, ")"); in SuggestParentheses()
137 SourceLocation EndLoc = PP.getLocForEndOfToken(PrevTokLocation); in ExpectAndConsume() local
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()
197 << FixItHint::CreateRemoval(SourceRange(StartLoc, EndLoc)); in ConsumeExtraSemi()
200 << FixItHint::CreateRemoval(SourceRange(StartLoc, EndLoc)); in ConsumeExtraSemi()
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/lib/MC/MCParser/
H A DMasmParser.cpp521 bool parseExpression(const MCExpr *&Res, SMLoc &EndLoc) override;
522 bool parsePrimaryExpr(const MCExpr *&Res, SMLoc &EndLoc,
524 bool parseParenExpression(const MCExpr *&Res, SMLoc &EndLoc) override;
526 SMLoc &EndLoc) override;
631 bool parseBinOpRHS(unsigned Precedence, const MCExpr *&Res, SMLoc &EndLoc);
632 bool parseParenExpr(const MCExpr *&Res, SMLoc &EndLoc);
633 bool parseBracketExpr(const MCExpr *&Res, SMLoc &EndLoc);
1407 bool MasmParser::parseParenExpr(const MCExpr *&Res, SMLoc &EndLoc) { in parseParenExpr() argument
1412 EndLoc = Lexer.getTok().getEndLoc(); in parseParenExpr()
1422 bool MasmParser::parseBracketExpr(const MCExpr *&Res, SMLoc &EndLoc) { in parseBracketExpr() argument
[all …]
H A DAsmParser.cpp265 bool parseExpression(const MCExpr *&Res, SMLoc &EndLoc) override;
266 bool parsePrimaryExpr(const MCExpr *&Res, SMLoc &EndLoc,
268 bool parseParenExpression(const MCExpr *&Res, SMLoc &EndLoc) override;
270 SMLoc &EndLoc) override;
365 bool parseBinOpRHS(unsigned Precedence, const MCExpr *&Res, SMLoc &EndLoc);
366 bool parseParenExpr(const MCExpr *&Res, SMLoc &EndLoc);
367 bool parseBracketExpr(const MCExpr *&Res, SMLoc &EndLoc);
1105 bool AsmParser::parseParenExpr(const MCExpr *&Res, SMLoc &EndLoc) { in parseParenExpr() argument
1110 EndLoc = Lexer.getTok().getEndLoc(); in parseParenExpr()
1120 bool AsmParser::parseBracketExpr(const MCExpr *&Res, SMLoc &EndLoc) { in parseBracketExpr() argument
[all …]
/netbsd-src/external/apache2/llvm/dist/clang/lib/ARCMigrate/
H A 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()
555 SourceLocation EndLoc = Setter->getDeclaratorEndLoc(); in rewriteToObjCProperty() local
557 EndLoc = EndLoc.getLocWithOffset(1); in rewriteToObjCProperty()
562 commit.remove(SourceRange(BeginOfSetterDclLoc, EndLoc)); in rewriteToObjCProperty()
668 SourceLocation EndLoc = in rewriteToObjCInterfaceDecl() local
[all …]

12345