/netbsd-src/external/apache2/llvm/dist/clang/include/clang/AST/ |
H A D | StmtOpenMP.h | 275 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 D | Availability.h | 39 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 D | OpenMPClause.h | 59 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 D | SelectorLocationsKind.h | 48 SourceLocation EndLoc); 60 SourceLocation EndLoc); 66 SourceLocation EndLoc); 78 SourceLocation EndLoc);
|
/netbsd-src/external/apache2/llvm/dist/clang/lib/AST/ |
H A D | SelectorLocationsKind.cpp | 23 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 D | StmtOpenMP.cpp | 238 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 D | OpenMPClause.cpp | 327 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 D | MSP430AsmParser.cpp | 47 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 D | USRLocFinder.cpp | 90 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 D | USRFinder.cpp | 87 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 D | SystemZAsmParser.cpp | 88 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 D | BPFAsmParser.cpp | 41 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 D | X86Operand.h | 32 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 D | SemaOpenMP.cpp | 5709 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 D | CSKYAsmParser.cpp | 45 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 D | CoverageMappingGen.cpp | 578 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 D | CGLoopInfo.h | 91 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 D | CGLoopInfo.cpp | 426 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 D | Sema.h | 4641 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 D | DeclSpec.h | 1067 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 D | ParseDecl.cpp | 91 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 D | Parser.cpp | 89 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 D | MasmParser.cpp | 521 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 D | AsmParser.cpp | 265 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 D | ObjCMT.cpp | 269 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 …]
|