/external/clang/include/clang/AST/ |
D | StmtOpenMP.h | 40 SourceLocation EndLoc; variable 68 SourceLocation StartLoc, SourceLocation EndLoc, in OMPExecutableDirective() argument 71 EndLoc(std::move(EndLoc)), NumClauses(NumClauses), in OMPExecutableDirective() 171 SourceLocation getLocEnd() const { return EndLoc; } in getLocEnd() 182 void setLocEnd(SourceLocation Loc) { EndLoc = Loc; } in setLocEnd() 242 OMPParallelDirective(SourceLocation StartLoc, SourceLocation EndLoc, in OMPParallelDirective() argument 245 StartLoc, EndLoc, NumClauses, 1), in OMPParallelDirective() 272 Create(const ASTContext &C, SourceLocation StartLoc, SourceLocation EndLoc, 384 SourceLocation StartLoc, SourceLocation EndLoc, 387 : OMPExecutableDirective(That, SC, Kind, StartLoc, EndLoc, NumClauses, [all …]
|
D | OpenMPClause.h | 36 SourceLocation EndLoc; variable 41 OMPClause(OpenMPClauseKind K, SourceLocation StartLoc, SourceLocation EndLoc) in OMPClause() argument 42 : StartLoc(StartLoc), EndLoc(EndLoc), Kind(K) {} in OMPClause() 48 SourceLocation getLocEnd() const { return EndLoc; } in getLocEnd() 53 void setLocEnd(SourceLocation Loc) { EndLoc = Loc; } in setLocEnd() 113 SourceLocation LParenLoc, SourceLocation EndLoc, unsigned N) in OMPVarListClause() argument 114 : OMPClause(K, StartLoc, EndLoc), LParenLoc(LParenLoc), NumVars(N) {} in OMPVarListClause() 200 SourceLocation EndLoc) in OMPIfClause() argument 201 : OMPClause(OMPC_if, StartLoc, EndLoc), LParenLoc(LParenLoc), in OMPIfClause() 263 SourceLocation EndLoc) in OMPFinalClause() argument [all …]
|
D | SelectorLocationsKind.h | 49 SourceLocation EndLoc); 61 SourceLocation EndLoc); 67 SourceLocation EndLoc); 79 SourceLocation EndLoc);
|
D | DeclarationName.h | 539 SourceLocation EndLoc = getEndLoc(); in getLocEnd() local 540 return EndLoc.isValid() ? EndLoc : getLocStart(); in getLocEnd()
|
/external/clang/lib/AST/ |
D | SelectorLocationsKind.cpp | 24 SourceLocation EndLoc) { in getStandardSelLoc() argument 28 if (EndLoc.isInvalid()) in getStandardSelLoc() 32 return EndLoc.getLocWithOffset(-Len); in getStandardSelLoc() 73 SourceLocation EndLoc) { in hasStandardSelLocs() argument 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() 108 SourceLocation EndLoc) { in getStandardSelectorLoc() argument 110 getArgLoc(Index, Args), EndLoc); in getStandardSelectorLoc() [all …]
|
D | StmtOpenMP.cpp | 58 const ASTContext &C, SourceLocation StartLoc, SourceLocation EndLoc, in Create() argument 65 new (Mem) OMPParallelDirective(StartLoc, EndLoc, Clauses.size()); in Create() 84 SourceLocation EndLoc, unsigned CollapsedNum, in Create() argument 93 OMPSimdDirective(StartLoc, EndLoc, CollapsedNum, Clauses.size()); in Create() 125 SourceLocation EndLoc, unsigned CollapsedNum, in Create() argument 134 new (Mem) OMPForDirective(StartLoc, EndLoc, CollapsedNum, Clauses.size()); in Create() 174 SourceLocation EndLoc, unsigned CollapsedNum, in Create() argument 183 OMPForSimdDirective(StartLoc, EndLoc, CollapsedNum, Clauses.size()); in Create() 221 const ASTContext &C, SourceLocation StartLoc, SourceLocation EndLoc, in Create() argument 228 new (Mem) OMPSectionsDirective(StartLoc, EndLoc, Clauses.size()); in Create() [all …]
|
D | OpenMPClause.cpp | 40 SourceLocation LParenLoc, SourceLocation EndLoc, in Create() argument 47 new (Mem) OMPPrivateClause(StartLoc, LParenLoc, EndLoc, VL.size()); in Create() 75 SourceLocation LParenLoc, SourceLocation EndLoc, in Create() argument 82 new (Mem) OMPFirstprivateClause(StartLoc, LParenLoc, EndLoc, VL.size()); in Create() 127 SourceLocation EndLoc, ArrayRef<Expr *> VL, ArrayRef<Expr *> SrcExprs, in Create() argument 133 new (Mem) OMPLastprivateClause(StartLoc, LParenLoc, EndLoc, VL.size()); in Create() 152 SourceLocation EndLoc, in Create() argument 158 new (Mem) OMPSharedClause(StartLoc, LParenLoc, EndLoc, VL.size()); in Create() 197 SourceLocation ColonLoc, SourceLocation EndLoc, ArrayRef<Expr *> VL, in Create() argument 205 StartLoc, LParenLoc, Modifier, ModifierLoc, ColonLoc, EndLoc, VL.size()); in Create() [all …]
|
/external/llvm/lib/Target/SystemZ/AsmParser/ |
D | SystemZAsmParser.cpp | 69 SMLoc StartLoc, EndLoc; member in __anonebb07a210111::SystemZOperand 132 : Kind(kind), StartLoc(startLoc), EndLoc(endLoc) {} in SystemZOperand() 136 SMLoc EndLoc) { in createInvalid() argument 137 return make_unique<SystemZOperand>(KindInvalid, StartLoc, EndLoc); in createInvalid() 146 createReg(RegisterKind Kind, unsigned Num, SMLoc StartLoc, SMLoc EndLoc) { in createReg() argument 147 auto Op = make_unique<SystemZOperand>(KindReg, StartLoc, EndLoc); in createReg() 153 createAccessReg(unsigned Num, SMLoc StartLoc, SMLoc EndLoc) { in createAccessReg() argument 154 auto Op = make_unique<SystemZOperand>(KindAccessReg, StartLoc, EndLoc); in createAccessReg() 159 createImm(const MCExpr *Expr, SMLoc StartLoc, SMLoc EndLoc) { in createImm() argument 160 auto Op = make_unique<SystemZOperand>(KindImm, StartLoc, EndLoc); in createImm() [all …]
|
/external/clang/lib/Sema/ |
D | SemaOpenMP.cpp | 2469 Stmt *AStmt, SourceLocation StartLoc, SourceLocation EndLoc) { in ActOnOpenMPExecutableDirective() argument 2506 EndLoc); in ActOnOpenMPExecutableDirective() 2510 Res = ActOnOpenMPSimdDirective(ClausesWithImplicit, AStmt, StartLoc, EndLoc, in ActOnOpenMPExecutableDirective() 2514 Res = ActOnOpenMPForDirective(ClausesWithImplicit, AStmt, StartLoc, EndLoc, in ActOnOpenMPExecutableDirective() 2519 EndLoc, VarsWithInheritedDSA); in ActOnOpenMPExecutableDirective() 2523 EndLoc); in ActOnOpenMPExecutableDirective() 2528 Res = ActOnOpenMPSectionDirective(AStmt, StartLoc, EndLoc); in ActOnOpenMPExecutableDirective() 2532 EndLoc); in ActOnOpenMPExecutableDirective() 2537 Res = ActOnOpenMPMasterDirective(AStmt, StartLoc, EndLoc); in ActOnOpenMPExecutableDirective() 2541 StartLoc, EndLoc); in ActOnOpenMPExecutableDirective() [all …]
|
D | SemaAttr.cpp | 588 void Sema::PopPragmaVisibility(bool IsNamespaceEnd, SourceLocation EndLoc) { in PopPragmaVisibility() argument 590 Diag(EndLoc, diag::err_pragma_pop_visibility_mismatch); in PopPragmaVisibility() 601 Diag(EndLoc, diag::note_surrounding_namespace_ends_here); in PopPragmaVisibility() 610 Diag(EndLoc, diag::err_pragma_pop_visibility_mismatch); in PopPragmaVisibility()
|
/external/llvm/lib/Target/X86/AsmParser/ |
D | X86Operand.h | 33 SMLoc StartLoc, EndLoc; member 70 : Kind(K), StartLoc(Start), EndLoc(End) {} in X86Operand() 78 SMLoc getEndLoc() const override { return EndLoc; } in getEndLoc() 81 SMRange getLocRange() const { return SMRange(StartLoc, EndLoc); } in getLocRange() 467 SMLoc EndLoc = SMLoc::getFromPointer(Loc.getPointer() + Str.size()); in CreateToken() local 468 auto Res = llvm::make_unique<X86Operand>(Token, Loc, EndLoc); in CreateToken() 475 CreateReg(unsigned RegNo, SMLoc StartLoc, SMLoc EndLoc, 478 auto Res = llvm::make_unique<X86Operand>(Register, StartLoc, EndLoc); 488 SMLoc StartLoc, SMLoc EndLoc) { in CreateImm() 489 auto Res = llvm::make_unique<X86Operand>(Immediate, StartLoc, EndLoc); in CreateImm() [all …]
|
/external/llvm/include/llvm/MC/MCParser/ |
D | MCAsmParser.h | 172 virtual bool parseExpression(const MCExpr *&Res, SMLoc &EndLoc) = 0; 180 virtual bool parsePrimaryExpr(const MCExpr *&Res, SMLoc &EndLoc) = 0; 188 virtual bool parseParenExpression(const MCExpr *&Res, SMLoc &EndLoc) = 0; 210 SMLoc &EndLoc) = 0;
|
/external/clang/lib/CodeGen/ |
D | CoverageMappingGen.cpp | 375 Optional<SourceLocation> EndLoc = None) { in pushRegion() 378 RegionStack.emplace_back(Count, StartLoc, EndLoc); in pushRegion() 393 SourceLocation EndLoc = Region.hasEndLoc() in popRegions() local 396 while (!SM.isWrittenInSameFile(StartLoc, EndLoc)) { in popRegions() 399 SourceLocation NestedLoc = getStartOfFileOrMacro(EndLoc); in popRegions() 400 assert(SM.isWrittenInSameFile(NestedLoc, EndLoc)); in popRegions() 402 SourceRegions.emplace_back(Region.getCounter(), NestedLoc, EndLoc); in popRegions() 404 EndLoc = getPreciseTokenLocEnd(getIncludeOrExpansionLoc(EndLoc)); in popRegions() 405 if (EndLoc.isInvalid()) in popRegions() 408 Region.setEndLoc(EndLoc); in popRegions() [all …]
|
/external/clang/lib/Parse/ |
D | Parser.cpp | 110 SourceLocation EndLoc = PP.getLocForEndOfToken(ParenRange.getEnd()); in SuggestParentheses() local 111 if (!ParenRange.getEnd().isFileID() || EndLoc.isInvalid()) { in SuggestParentheses() 120 << FixItHint::CreateInsertion(EndLoc, ")"); in SuggestParentheses() 158 SourceLocation EndLoc = PP.getLocForEndOfToken(PrevTokLocation); in ExpectAndConsume() local 160 if (EndLoc.isValid()) in ExpectAndConsume() 165 ? Diag(EndLoc, DiagID) << FixItHint::CreateInsertion(EndLoc, Spelling) in ExpectAndConsume() 204 SourceLocation EndLoc = Tok.getLocation(); in ConsumeExtraSemi() local 209 EndLoc = Tok.getLocation(); in ConsumeExtraSemi() 218 << FixItHint::CreateRemoval(SourceRange(StartLoc, EndLoc)); in ConsumeExtraSemi() 221 << FixItHint::CreateRemoval(SourceRange(StartLoc, EndLoc)); in ConsumeExtraSemi() [all …]
|
D | ParseStmtAsm.cpp | 358 SourceLocation EndLoc = AsmLoc; in ParseMicrosoftAsmStatement() local 375 EndLoc = ConsumeBrace(); in ParseMicrosoftAsmStatement() 376 LBraceLocs.push_back(EndLoc); in ParseMicrosoftAsmStatement() 381 SrcMgr.getDecomposedExpansionLoc(EndLoc); in ParseMicrosoftAsmStatement() 396 EndLoc = ConsumeBrace(); in ParseMicrosoftAsmStatement() 398 LBraceLocs.push_back(EndLoc); in ParseMicrosoftAsmStatement() 444 EndLoc = ConsumeBrace(); in ParseMicrosoftAsmStatement() 460 EndLoc = TokLoc; in ParseMicrosoftAsmStatement() 518 ConstraintRefs, ClobberRefs, Exprs, EndLoc); in ParseMicrosoftAsmStatement() 609 ClobberRefs, Exprs, EndLoc); in ParseMicrosoftAsmStatement()
|
D | ParseDeclCXX.cpp | 769 SourceLocation EndLoc; in ParseDecltypeSpecifier() local 773 EndLoc = Tok.getAnnotationEndLoc(); in ParseDecltypeSpecifier() 777 return EndLoc; in ParseDecltypeSpecifier() 817 EndLoc = ConsumeParen(); in ParseDecltypeSpecifier() 823 EndLoc = ConsumeAnyToken(); in ParseDecltypeSpecifier() 826 EndLoc = Tok.getLocation(); in ParseDecltypeSpecifier() 829 return EndLoc; in ParseDecltypeSpecifier() 849 EndLoc = T.getCloseLocation(); in ParseDecltypeSpecifier() 865 return EndLoc; in ParseDecltypeSpecifier() 870 SourceLocation EndLoc) { in AnnotateExistingDecltypeSpecifier() argument [all …]
|
D | ParseDecl.cpp | 244 SourceLocation *EndLoc, in ParseAttributeWithTypeArg() argument 272 ParsedAttributes &Attrs, SourceLocation *EndLoc, IdentifierInfo *ScopeName, in ParseAttributeArgsCommon() argument 326 if (EndLoc) in ParseAttributeArgsCommon() 327 *EndLoc = RParen; in ParseAttributeArgsCommon() 337 SourceLocation *EndLoc, in ParseGNUAttributeArgs() argument 349 ParseAvailabilityAttribute(*AttrName, AttrNameLoc, Attrs, EndLoc, ScopeName, in ParseGNUAttributeArgs() 353 ParseObjCBridgeRelatedAttribute(*AttrName, AttrNameLoc, Attrs, EndLoc, in ParseGNUAttributeArgs() 357 ParseTypeTagForDatatypeAttribute(*AttrName, AttrNameLoc, Attrs, EndLoc, in ParseGNUAttributeArgs() 361 ParseAttributeWithTypeArg(*AttrName, AttrNameLoc, Attrs, EndLoc, ScopeName, in ParseGNUAttributeArgs() 381 ParseAttributeArgsCommon(AttrName, AttrNameLoc, Attrs, EndLoc, ScopeName, in ParseGNUAttributeArgs() [all …]
|
/external/clang/lib/ARCMigrate/ |
D | ObjCMT.cpp | 265 SourceLocation EndLoc = Msg->getSelectorLoc(0); in rewriteToPropertyDotSyntax() local 266 SourceRange SpaceRange(BegLoc, EndLoc); in rewriteToPropertyDotSyntax() 295 SourceLocation EndLoc = RHS->getLocStart(); in rewriteToPropertyDotSyntax() local 296 EndLoc = EndLoc.getLocWithOffset(-1); in rewriteToPropertyDotSyntax() 297 const char *colon = PP.getSourceManager().getCharacterData(EndLoc); in rewriteToPropertyDotSyntax() 301 SourceRange Range(BegLoc, EndLoc); in rewriteToPropertyDotSyntax() 552 SourceLocation EndLoc = Setter->getDeclaratorEndLoc(); in rewriteToObjCProperty() local 554 EndLoc = EndLoc.getLocWithOffset(1); in rewriteToObjCProperty() 559 commit.remove(SourceRange(BeginOfSetterDclLoc, EndLoc)); in rewriteToObjCProperty() 666 SourceLocation EndLoc = in rewriteToObjCInterfaceDecl() local [all …]
|
/external/clang/lib/Lex/ |
D | TokenLexer.cpp | 669 SourceLocation EndLoc = Tokens[CurToken - 1].getLocation(); in PasteTokens() local 679 if (EndLoc.isFileID()) in PasteTokens() 680 EndLoc = getExpansionLocForMacroDefLoc(EndLoc); in PasteTokens() 684 while (SM.getFileID(EndLoc) != MacroFID) in PasteTokens() 685 EndLoc = SM.getImmediateExpansionRange(EndLoc).second; in PasteTokens() 687 Tok.setLocation(SM.createExpansionLoc(Tok.getLocation(), StartLoc, EndLoc, in PasteTokens()
|
D | PreprocessingRecord.cpp | 467 SourceLocation EndLoc; in InclusionDirective() local 469 EndLoc = FilenameRange.getBegin(); in InclusionDirective() 471 EndLoc = FilenameRange.getEnd(); in InclusionDirective() 473 EndLoc = EndLoc.getLocWithOffset(-1); // the InclusionDirective expects in InclusionDirective() 479 File, SourceRange(HashLoc, EndLoc)); in InclusionDirective()
|
/external/clang/include/clang/Sema/ |
D | Sema.h | 3298 SourceLocation EndLoc); 3429 SourceLocation EndLoc); 4991 SourceLocation EndLoc, 5060 ExprResult BuildLambdaExpr(SourceLocation StartLoc, SourceLocation EndLoc, 7374 SourceLocation EndLoc, // location of the ; or {. 7692 void PopPragmaVisibility(bool IsNamespaceEnd, SourceLocation EndLoc); 7833 Stmt *AStmt, SourceLocation StartLoc, SourceLocation EndLoc); 7839 SourceLocation EndLoc); 7844 SourceLocation EndLoc, 7850 SourceLocation EndLoc, [all …]
|
D | DeclSpec.h | 998 SourceLocation EndLoc) { in setConversionFunctionId() argument 1001 EndLocation = EndLoc; in setConversionFunctionId() 1030 SourceLocation EndLoc) { in setConstructorName() argument 1033 EndLocation = EndLoc; in setConstructorName() 1053 SourceLocation EndLoc) { in setDestructorName() argument 1056 EndLocation = EndLoc; in setDestructorName() 1090 SourceLocation EndLoc; member 1093 if (EndLoc.isInvalid()) in getSourceRange() 1095 return SourceRange(Loc, EndLoc); in getSourceRange() 1481 I.EndLoc = RBLoc; in getArray() [all …]
|
/external/llvm/lib/MC/MCParser/ |
D | AsmParser.cpp | 235 bool parseExpression(const MCExpr *&Res, SMLoc &EndLoc) override; 236 bool parsePrimaryExpr(const MCExpr *&Res, SMLoc &EndLoc) override; 237 bool parseParenExpression(const MCExpr *&Res, SMLoc &EndLoc) override; 239 SMLoc &EndLoc) override; 336 bool parseBinOpRHS(unsigned Precedence, const MCExpr *&Res, SMLoc &EndLoc); 337 bool parseParenExpr(const MCExpr *&Res, SMLoc &EndLoc); 338 bool parseBracketExpr(const MCExpr *&Res, SMLoc &EndLoc); 752 bool AsmParser::parseParenExpr(const MCExpr *&Res, SMLoc &EndLoc) { in parseParenExpr() argument 757 EndLoc = Lexer.getTok().getEndLoc(); in parseParenExpr() 767 bool AsmParser::parseBracketExpr(const MCExpr *&Res, SMLoc &EndLoc) { in parseBracketExpr() argument [all …]
|
/external/llvm/lib/Target/Sparc/AsmParser/ |
D | SparcAsmParser.cpp | 53 bool ParseRegister(unsigned &RegNo, SMLoc &StartLoc, SMLoc &EndLoc) override; 80 bool matchSparcAsmModifiers(const MCExpr *&EVal, SMLoc &EndLoc); 176 SMLoc StartLoc, EndLoc; member in __anon6485be950111::SparcOperand 264 return EndLoc; in getEndLoc() 325 Op->EndLoc = S; in CreateToken() 335 Op->EndLoc = E; in CreateReg() 344 Op->EndLoc = E; in CreateImm() 418 Op->EndLoc = E; in CreateMEMr() 559 ParseRegister(unsigned &RegNo, SMLoc &StartLoc, SMLoc &EndLoc) in ParseRegister() argument 563 EndLoc = Tok.getEndLoc(); in ParseRegister() [all …]
|
/external/llvm/lib/Target/ARM/AsmParser/ |
D | ARMAsmParser.cpp | 329 SMLoc &EndLoc); 370 bool ParseRegister(unsigned &RegNo, SMLoc &StartLoc, SMLoc &EndLoc) override; 424 SMLoc StartLoc, EndLoc, AlignmentLoc; member in __anonf55edb230311::ARMOperand 572 SMLoc getEndLoc() const override { return EndLoc; } in getEndLoc() 575 SMRange getLocRange() const { return SMRange(StartLoc, EndLoc); } in getLocRange() 2477 Op->EndLoc = S; in CreateITMask() 2486 Op->EndLoc = S; in CreateCondCode() 2494 Op->EndLoc = S; in CreateCoprocNum() 2502 Op->EndLoc = S; in CreateCoprocReg() 2511 Op->EndLoc = E; in CreateCoprocOption() [all …]
|