/external/clang/lib/AST/ |
H A D | SelectorLocationsKind.cpp | 24 SourceLocation EndLoc) { 28 if (EndLoc.isInvalid()) 32 return EndLoc.getLocWithOffset(-Len); 73 SourceLocation EndLoc) { 78 Args, EndLoc)) 87 Args, EndLoc)) 100 SourceLocation EndLoc) { 101 return hasStandardSelLocs(Sel, SelLocs, Args, EndLoc); 108 SourceLocation EndLoc) { 110 getArgLoc(Index, Args), EndLoc); 20 getStandardSelLoc(unsigned Index, Selector Sel, bool WithArgSpace, SourceLocation ArgLoc, SourceLocation EndLoc) argument 70 hasStandardSelLocs(Selector Sel, ArrayRef<SourceLocation> SelLocs, ArrayRef<T *> Args, SourceLocation EndLoc) argument 97 hasStandardSelectorLocs(Selector Sel, ArrayRef<SourceLocation> SelLocs, ArrayRef<Expr *> Args, SourceLocation EndLoc) argument 104 getStandardSelectorLoc(unsigned Index, Selector Sel, bool WithArgSpace, ArrayRef<Expr *> Args, SourceLocation EndLoc) argument 114 hasStandardSelectorLocs(Selector Sel, ArrayRef<SourceLocation> SelLocs, ArrayRef<ParmVarDecl *> Args, SourceLocation EndLoc) argument 121 getStandardSelectorLoc(unsigned Index, Selector Sel, bool WithArgSpace, ArrayRef<ParmVarDecl *> Args, SourceLocation EndLoc) argument [all...] |
H A D | DeclObjC.cpp | 1857 SourceLocation EndLoc = getLocation(); local 1859 EndLoc = IvarLoc; 1861 return SourceRange(AtLoc, EndLoc);
|
H A D | Stmt.cpp | 661 EndLoc(endloc), NumAsmToks(asmtoks.size()) { 1128 SourceLocation EndLoc, 1134 EndLoc, VL.size()); 1150 SourceLocation EndLoc, 1157 EndLoc, 1174 SourceLocation EndLoc, 1180 new (Mem) OMPLastprivateClause(StartLoc, LParenLoc, EndLoc, VL.size()); 1196 SourceLocation EndLoc, 1202 EndLoc, VL.size()); 1219 SourceLocation EndLoc, 1125 Create(const ASTContext &C, SourceLocation StartLoc, SourceLocation LParenLoc, SourceLocation EndLoc, ArrayRef<Expr *> VL) argument 1147 Create(const ASTContext &C, SourceLocation StartLoc, SourceLocation LParenLoc, SourceLocation EndLoc, ArrayRef<Expr *> VL) argument 1171 Create(const ASTContext &C, SourceLocation StartLoc, SourceLocation LParenLoc, SourceLocation EndLoc, ArrayRef<Expr *> VL) argument 1193 Create(const ASTContext &C, SourceLocation StartLoc, SourceLocation LParenLoc, SourceLocation EndLoc, ArrayRef<Expr *> VL) argument 1215 Create(const ASTContext &C, SourceLocation StartLoc, SourceLocation LParenLoc, SourceLocation ColonLoc, SourceLocation EndLoc, ArrayRef<Expr *> VL, Expr *Step) argument 1240 Create(const ASTContext &C, SourceLocation StartLoc, SourceLocation LParenLoc, SourceLocation ColonLoc, SourceLocation EndLoc, ArrayRef<Expr *> VL, Expr *A) argument 1261 Create(const ASTContext &C, SourceLocation StartLoc, SourceLocation LParenLoc, SourceLocation EndLoc, ArrayRef<Expr *> VL) argument 1283 Create(const ASTContext &C, SourceLocation StartLoc, SourceLocation LParenLoc, SourceLocation EndLoc, ArrayRef<Expr *> VL) argument 1311 Create( const ASTContext &C, SourceLocation StartLoc, SourceLocation LParenLoc, SourceLocation EndLoc, SourceLocation ColonLoc, ArrayRef<Expr *> VL, NestedNameSpecifierLoc QualifierLoc, const DeclarationNameInfo &NameInfo) argument 1332 Create( const ASTContext &C, SourceLocation StartLoc, SourceLocation EndLoc, ArrayRef<OMPClause *> Clauses, Stmt *AssociatedStmt) argument 1360 Create(const ASTContext &C, SourceLocation StartLoc, SourceLocation EndLoc, unsigned CollapsedNum, ArrayRef<OMPClause *> Clauses, Stmt *AssociatedStmt) argument 1386 Create(const ASTContext &C, SourceLocation StartLoc, SourceLocation EndLoc, unsigned CollapsedNum, ArrayRef<OMPClause *> Clauses, Stmt *AssociatedStmt) argument 1411 Create( const ASTContext &C, SourceLocation StartLoc, SourceLocation EndLoc, ArrayRef<OMPClause *> Clauses, Stmt *AssociatedStmt) argument 1435 Create(const ASTContext &C, SourceLocation StartLoc, SourceLocation EndLoc, Stmt *AssociatedStmt) argument 1455 Create(const ASTContext &C, SourceLocation StartLoc, SourceLocation EndLoc, ArrayRef<OMPClause *> Clauses, Stmt *AssociatedStmt) argument 1482 Create(const ASTContext &C, SourceLocation StartLoc, SourceLocation EndLoc, unsigned CollapsedNum, ArrayRef<OMPClause *> Clauses, Stmt *AssociatedStmt) argument 1507 Create( const ASTContext &C, SourceLocation StartLoc, SourceLocation EndLoc, ArrayRef<OMPClause *> Clauses, Stmt *AssociatedStmt) argument [all...] |
/external/clang/include/clang/AST/ |
H A D | StmtOpenMP.h | 40 SourceLocation EndLoc; member in class:clang::OMPExecutableDirective 64 /// \param EndLoc Ending location of the directive. 68 SourceLocation StartLoc, SourceLocation EndLoc, 71 EndLoc(std::move(EndLoc)), NumClauses(NumClauses), 131 SourceLocation getLocEnd() const { return EndLoc; } 142 void setLocEnd(SourceLocation Loc) { EndLoc = Loc; } 188 /// \param EndLoc Ending Location of the directive. 190 OMPParallelDirective(SourceLocation StartLoc, SourceLocation EndLoc, argument 193 StartLoc, EndLoc, NumClause 67 OMPExecutableDirective(const T *, StmtClass SC, OpenMPDirectiveKind K, SourceLocation StartLoc, SourceLocation EndLoc, unsigned NumClauses, unsigned NumChildren) argument 250 OMPSimdDirective(SourceLocation StartLoc, SourceLocation EndLoc, unsigned CollapsedNum, unsigned NumClauses) argument 319 OMPForDirective(SourceLocation StartLoc, SourceLocation EndLoc, unsigned CollapsedNum, unsigned NumClauses) argument 385 OMPSectionsDirective(SourceLocation StartLoc, SourceLocation EndLoc, unsigned NumClauses) argument 439 OMPSectionDirective(SourceLocation StartLoc, SourceLocation EndLoc) argument 489 OMPSingleDirective(SourceLocation StartLoc, SourceLocation EndLoc, unsigned NumClauses) argument 550 OMPParallelForDirective(SourceLocation StartLoc, SourceLocation EndLoc, unsigned CollapsedNum, unsigned NumClauses) argument 619 OMPParallelSectionsDirective(SourceLocation StartLoc, SourceLocation EndLoc, unsigned NumClauses) argument [all...] |
H A D | DeclarationName.h | 538 SourceLocation EndLoc = getEndLoc(); variable 539 return EndLoc.isValid() ? EndLoc : getLocStart();
|
H A D | OpenMPClause.h | 36 SourceLocation EndLoc; member in class:clang::OMPClause 41 OMPClause(OpenMPClauseKind K, SourceLocation StartLoc, SourceLocation EndLoc) argument 42 : StartLoc(StartLoc), EndLoc(EndLoc), Kind(K) {} 48 SourceLocation getLocEnd() const { return EndLoc; } 53 void setLocEnd(SourceLocation Loc) { EndLoc = Loc; } 103 /// \param EndLoc Ending location of the clause. 107 SourceLocation LParenLoc, SourceLocation EndLoc, unsigned N) 108 : OMPClause(K, StartLoc, EndLoc), LParenLoc(LParenLoc), NumVars(N) {} 171 /// \param EndLoc Endin 106 OMPVarListClause(OpenMPClauseKind K, SourceLocation StartLoc, SourceLocation LParenLoc, SourceLocation EndLoc, unsigned N) argument 173 OMPIfClause(Expr *Cond, SourceLocation StartLoc, SourceLocation LParenLoc, SourceLocation EndLoc) argument 227 OMPNumThreadsClause(Expr *NumThreads, SourceLocation StartLoc, SourceLocation LParenLoc, SourceLocation EndLoc) argument 283 OMPSafelenClause(Expr *Len, SourceLocation StartLoc, SourceLocation LParenLoc, SourceLocation EndLoc) argument 339 OMPCollapseClause(Expr *Num, SourceLocation StartLoc, SourceLocation LParenLoc, SourceLocation EndLoc) argument 403 OMPDefaultClause(OpenMPDefaultClauseKind A, SourceLocation ALoc, SourceLocation StartLoc, SourceLocation LParenLoc, SourceLocation EndLoc) argument 474 OMPProcBindClause(OpenMPProcBindClauseKind A, SourceLocation ALoc, SourceLocation StartLoc, SourceLocation LParenLoc, SourceLocation EndLoc) argument 564 OMPScheduleClause(SourceLocation StartLoc, SourceLocation LParenLoc, SourceLocation KLoc, SourceLocation CommaLoc, SourceLocation EndLoc, OpenMPScheduleClauseKind Kind, Expr *ChunkSize) argument 617 OMPOrderedClause(SourceLocation StartLoc, SourceLocation EndLoc) argument 646 OMPNowaitClause(SourceLocation StartLoc, SourceLocation EndLoc) argument 677 OMPPrivateClause(SourceLocation StartLoc, SourceLocation LParenLoc, SourceLocation EndLoc, unsigned N) argument 737 OMPFirstprivateClause(SourceLocation StartLoc, SourceLocation LParenLoc, SourceLocation EndLoc, unsigned N) argument 797 OMPLastprivateClause(SourceLocation StartLoc, SourceLocation LParenLoc, SourceLocation EndLoc, unsigned N) argument 856 OMPSharedClause(SourceLocation StartLoc, SourceLocation LParenLoc, SourceLocation EndLoc, unsigned N) argument 927 OMPReductionClause(SourceLocation StartLoc, SourceLocation LParenLoc, SourceLocation ColonLoc, SourceLocation EndLoc, unsigned N, NestedNameSpecifierLoc QualifierLoc, const DeclarationNameInfo &NameInfo) argument 1017 OMPLinearClause(SourceLocation StartLoc, SourceLocation LParenLoc, SourceLocation ColonLoc, SourceLocation EndLoc, unsigned NumVars) argument 1102 OMPAlignedClause(SourceLocation StartLoc, SourceLocation LParenLoc, SourceLocation ColonLoc, SourceLocation EndLoc, unsigned NumVars) argument 1178 OMPCopyinClause(SourceLocation StartLoc, SourceLocation LParenLoc, SourceLocation EndLoc, unsigned N) argument 1238 OMPCopyprivateClause(SourceLocation StartLoc, SourceLocation LParenLoc, SourceLocation EndLoc, unsigned N) argument [all...] |
/external/clang/lib/Parse/ |
H A D | ParseOpenMP.cpp | 120 SourceLocation Loc = ConsumeToken(), EndLoc; local 177 EndLoc = Tok.getLocation(); 201 DKind, Clauses, AssociatedStmt.get(), Loc, EndLoc);
|
H A D | ParseCXXInlineMethods.cpp | 542 SourceLocation EndLoc = PP.getLocForEndOfToken(PrevTokLocation); local 543 if (!EndLoc.isValid()) 544 EndLoc = Tok.getLocation(); 546 Diag(EndLoc, diag::err_expected_semi_decl_list);
|
H A D | Parser.cpp | 90 SourceLocation EndLoc = PP.getLocForEndOfToken(ParenRange.getEnd()); local 91 if (!ParenRange.getEnd().isFileID() || EndLoc.isInvalid()) { 100 << FixItHint::CreateInsertion(EndLoc, ")"); 138 SourceLocation EndLoc = PP.getLocForEndOfToken(PrevTokLocation); local 140 if (EndLoc.isValid()) 145 ? Diag(EndLoc, DiagID) << FixItHint::CreateInsertion(EndLoc, Spelling) 184 SourceLocation EndLoc = Tok.getLocation(); local 189 EndLoc = Tok.getLocation(); 198 << FixItHint::CreateRemoval(SourceRange(StartLoc, EndLoc)); 662 SourceLocation EndLoc; local 1249 ParseSimpleAsm(SourceLocation *EndLoc) argument 1572 SourceLocation EndLoc = Tok.getLastLoc(); local [all...] |
H A D | ParseDeclCXX.cpp | 742 SourceLocation EndLoc; local 746 EndLoc = Tok.getAnnotationEndLoc(); 750 return EndLoc; 787 EndLoc = ConsumeParen(); 793 EndLoc = ConsumeAnyToken(); 796 EndLoc = Tok.getLocation(); 799 return EndLoc; 819 EndLoc = T.getCloseLocation(); 835 return EndLoc; 840 SourceLocation EndLoc) { 838 AnnotateExistingDecltypeSpecifier(const DeclSpec& DS, SourceLocation StartLoc, SourceLocation EndLoc) argument 2679 SourceLocation EndLoc; local 3229 ParseCXX11AttributeArgs(IdentifierInfo *AttrName, SourceLocation AttrNameLoc, ParsedAttributes &Attrs, SourceLocation *EndLoc, IdentifierInfo *ScopeName, SourceLocation ScopeLoc) argument 3405 SourceLocation EndLoc = SkipCXX11Attributes(); local 3415 SourceLocation EndLoc; local [all...] |
H A D | ParseExprCXX.cpp | 238 SourceLocation EndLoc = ParseDecltypeSpecifier(DS); local 242 AnnotateExistingDecltypeSpecifier(DS, DeclLoc, EndLoc); 2441 SourceLocation EndLoc = ParseDecltypeSpecifier(DS); local 2443 Result.setDestructorName(TildeLoc, Type, EndLoc); 2822 SourceLocation EndLoc = Parens.getCloseLocation(); 2825 Diag(EndLoc, diag::err_type_trait_arity) 2831 Diag(EndLoc, diag::err_type_trait_arity) 2836 return Actions.ActOnTypeTrait(TypeTraitFromTokKind(Kind), Loc, Args, EndLoc);
|
H A D | ParseObjc.cpp | 1189 SourceLocation &LAngleLoc, SourceLocation &EndLoc) { 1219 if (ParseGreaterThanInTemplateList(EndLoc, /*ConsumeLastToken=*/true)) 2647 SourceLocation EndLoc = ConsumeToken(); // consume the keyword. local 2648 return Actions.ActOnObjCBoolLiteral(AtLoc, EndLoc, ArgValue); 2731 SourceLocation EndLoc = ConsumeBracket(); // location of ']' local 2733 return Actions.BuildObjCArrayLiteral(SourceRange(AtLoc, EndLoc), Args); 2784 SourceLocation EndLoc = ConsumeBrace(); local 2787 return Actions.BuildObjCDictionaryLiteral(SourceRange(AtLoc, EndLoc), 1186 ParseObjCProtocolReferences(SmallVectorImpl<Decl *> &Protocols, SmallVectorImpl<SourceLocation> &ProtocolLocs, bool WarnOnDeclarations, SourceLocation &LAngleLoc, SourceLocation &EndLoc) argument
|
/external/clang/lib/Rewrite/Core/ |
H A D | HTMLRewrite.cpp | 278 SourceLocation EndLoc = StartLoc.getLocWithOffset(FileEnd-FileStart); local 350 R.InsertTextAfter(EndLoc, "</body></html>\n");
|
/external/clang/include/clang/Lex/ |
H A D | MacroInfo.h | 136 void setDefinitionEndLoc(SourceLocation EndLoc) { EndLocation = EndLoc; } argument
|
/external/clang/lib/Lex/ |
H A D | PPMacroExpansion.cpp | 749 SourceLocation EndLoc = Tok.getLocation(); local 752 Tok.setLocation(EndLoc); 1094 SourceLocation EndLoc; 1114 if (PP.ConcatenateIncludeName(FilenameBuffer, EndLoc)) {
|
H A D | PreprocessingRecord.cpp | 469 SourceLocation EndLoc; local 471 EndLoc = FilenameRange.getBegin(); 473 EndLoc = FilenameRange.getEnd(); 475 EndLoc = EndLoc.getLocWithOffset(-1); // the InclusionDirective expects 481 File, SourceRange(HashLoc, EndLoc));
|
H A D | TokenLexer.cpp | 645 SourceLocation EndLoc = Tokens[CurToken - 1].getLocation(); local 655 if (EndLoc.isFileID()) 656 EndLoc = getExpansionLocForMacroDefLoc(EndLoc); 660 while (SM.getFileID(EndLoc) != MacroFID) 661 EndLoc = SM.getImmediateExpansionRange(EndLoc).second; 663 Tok.setLocation(SM.createExpansionLoc(Tok.getLocation(), StartLoc, EndLoc,
|
H A D | Lexer.cpp | 2516 SourceLocation EndLoc = getSourceLocation(BufferEnd); local 2523 if (!Diags.isIgnored(diag::warn_cxx98_compat_no_newline_eof, EndLoc)) { 2533 << FixItHint::CreateInsertion(EndLoc, "\n");
|
/external/clang/lib/Sema/ |
H A D | SemaStmtAsm.cpp | 481 SourceLocation EndLoc) { 487 Clobbers, EndLoc); 474 ActOnMSAsmStmt(SourceLocation AsmLoc, SourceLocation LBraceLoc, ArrayRef<Token> AsmToks, StringRef AsmString, unsigned NumOutputs, unsigned NumInputs, ArrayRef<StringRef> Constraints, ArrayRef<StringRef> Clobbers, ArrayRef<Expr*> Exprs, SourceLocation EndLoc) argument
|
H A D | SemaAttr.cpp | 576 void Sema::PopPragmaVisibility(bool IsNamespaceEnd, SourceLocation EndLoc) { argument 578 Diag(EndLoc, diag::err_pragma_pop_visibility_mismatch); 589 Diag(EndLoc, diag::note_surrounding_namespace_ends_here); 598 Diag(EndLoc, diag::err_pragma_pop_visibility_mismatch);
|
H A D | SemaLambda.cpp | 356 SourceLocation EndLoc, 387 = CXXMethodDecl::Create(Context, Class, EndLoc, 395 EndLoc); 859 SourceLocation EndLoc; local 883 EndLoc = Intro.Range.getEnd(); 898 EndLoc = ParamInfo.getSourceRange().getEnd(); 917 MethodTyInfo, EndLoc, Params); 353 startLambdaDefinition(CXXRecordDecl *Class, SourceRange IntroducerRange, TypeSourceInfo *MethodTypeInfo, SourceLocation EndLoc, ArrayRef<ParmVarDecl *> Params) argument
|
/external/llvm/lib/Target/X86/AsmParser/ |
H A D | X86Operand.h | 30 SMLoc StartLoc, EndLoc; member in struct:llvm::X86Operand 66 : Kind(K), StartLoc(Start), EndLoc(End) {} 74 SMLoc getEndLoc() const override { return EndLoc; } 77 SMRange getLocRange() const { return SMRange(StartLoc, EndLoc); } 415 SMLoc EndLoc = SMLoc::getFromPointer(Loc.getPointer() + Str.size()); local 416 auto Res = llvm::make_unique<X86Operand>(Token, Loc, EndLoc); 423 CreateReg(unsigned RegNo, SMLoc StartLoc, SMLoc EndLoc, argument 426 auto Res = llvm::make_unique<X86Operand>(Register, StartLoc, EndLoc); 436 SMLoc StartLoc, SMLoc EndLoc) { 437 auto Res = llvm::make_unique<X86Operand>(Immediate, StartLoc, EndLoc); 435 CreateImm(const MCExpr *Val, SMLoc StartLoc, SMLoc EndLoc) argument 444 CreateMem(const MCExpr *Disp, SMLoc StartLoc, SMLoc EndLoc, unsigned Size = 0, StringRef SymName = StringRef(), void *OpDecl = nullptr) argument 461 CreateMem(unsigned SegReg, const MCExpr *Disp, unsigned BaseReg, unsigned IndexReg, unsigned Scale, SMLoc StartLoc, SMLoc EndLoc, unsigned Size = 0, StringRef SymName = StringRef(), void *OpDecl = nullptr) argument [all...] |
/external/llvm/lib/Target/Sparc/AsmParser/ |
H A D | SparcAsmParser.cpp | 53 bool ParseRegister(unsigned &RegNo, SMLoc &StartLoc, SMLoc &EndLoc) override; 76 bool matchSparcAsmModifiers(const MCExpr *&EVal, SMLoc &EndLoc); 150 SMLoc StartLoc, EndLoc; member in class:__anon26131::SparcOperand 234 return EndLoc; 295 Op->EndLoc = S; 305 Op->EndLoc = E; 314 Op->EndLoc = E; 369 Op->EndLoc = E; 429 ParseRegister(unsigned &RegNo, SMLoc &StartLoc, SMLoc &EndLoc) argument 433 EndLoc 869 matchSparcAsmModifiers(const MCExpr *&EVal, SMLoc &EndLoc) argument [all...] |
/external/clang/include/clang/Basic/ |
H A D | SourceManager.h | 332 SourceLocation EndLoc = local 334 return EndLoc.isInvalid() ? getExpansionLocStart() : EndLoc;
|
/external/clang/lib/CodeGen/ |
H A D | CodeGenFunction.cpp | 194 void CodeGenFunction::FinishFunction(SourceLocation EndLoc) { argument 217 DI->EmitLocation(Builder, EndLoc); 229 // the ret after it's been at EndLoc. 234 DI->EmitLocation(Builder, EndLoc); 248 EmitFunctionEpilog(*CurFnInfo, EmitRetDbgLoc, EndLoc);
|