Searched defs:StartLoc (Results 1 - 25 of 43) sorted by relevance

12

/external/clang/lib/Parse/
H A DParseInit.cpp223 SourceLocation StartLoc = T.getOpenLocation(); local
236 CheckArrayDesignatorSyntax(*this, StartLoc, Desig);
237 return ParseAssignmentExprWithObjCMessageExprStart(StartLoc,
254 CheckArrayDesignatorSyntax(*this, StartLoc, Desig);
255 return ParseAssignmentExprWithObjCMessageExprStart(StartLoc,
280 CheckArrayDesignatorSyntax(*this, StartLoc, Desig);
282 return ParseAssignmentExprWithObjCMessageExprStart(StartLoc,
292 return ParseAssignmentExprWithObjCMessageExprStart(StartLoc,
327 return ParseAssignmentExprWithObjCMessageExprStart(StartLoc,
335 Desig.AddDesignator(Designator::getArray(Idx.release(), StartLoc));
[all...]
H A DParseExpr.cpp1760 SourceLocation StartLoc = ConsumeToken(); // Eat the builtin identifier. local
1790 Res = Actions.ActOnVAArg(StartLoc, Expr.take(), Ty.get(), ConsumeParen());
1862 Res = Actions.ActOnBuiltinOffsetOf(getCurScope(), StartLoc, TypeLoc,
1897 Res = Actions.ActOnChooseExpr(StartLoc, Cond.take(), Expr1.take(),
1925 Res = Actions.ActOnAsTypeExpr(Expr.take(), DestTy.get(), StartLoc,
H A DParser.cpp227 SourceLocation StartLoc = Tok.getLocation(); local
241 Diag(StartLoc, diag::warn_cxx98_compat_top_level_semi)
242 << FixItHint::CreateRemoval(SourceRange(StartLoc, EndLoc));
244 Diag(StartLoc, diag::ext_extra_semi_cxx11)
245 << FixItHint::CreateRemoval(SourceRange(StartLoc, EndLoc));
250 Diag(StartLoc, diag::ext_extra_semi)
252 << FixItHint::CreateRemoval(SourceRange(StartLoc, EndLoc));
255 Diag(StartLoc, diag::warn_extra_semi_after_mem_fn_def)
256 << FixItHint::CreateRemoval(SourceRange(StartLoc, EndLoc));
657 SourceLocation StartLoc local
[all...]
H A DParseDeclCXX.cpp664 SourceLocation StartLoc = Tok.getLocation(); local
686 StartLoc : T.getOpenLocation();
699 return StartLoc;
723 if (DS.SetTypeSpecType(DeclSpec::TST_decltype, StartLoc, PrevSpec,
725 Diag(StartLoc, DiagID) << PrevSpec;
732 SourceLocation StartLoc,
744 Tok.setLocation(StartLoc);
752 SourceLocation StartLoc = ConsumeToken(); local
772 if (DS.SetTypeSpecType(DeclSpec::TST_underlyingType, StartLoc, PrevSpec,
774 Diag(StartLoc, DiagI
731 AnnotateExistingDecltypeSpecifier(const DeclSpec& DS, SourceLocation StartLoc, SourceLocation EndLoc) argument
1029 ParseClassSpecifier(tok::TokenKind TagTokKind, SourceLocation StartLoc, DeclSpec &DS, const ParsedTemplateInfo &TemplateInfo, AccessSpecifier AS, bool EnteringContext, DeclSpecContext DSC) argument
1534 SourceLocation StartLoc = Tok.getLocation(); local
2992 SourceLocation StartLoc = Tok.getLocation(), Loc; local
[all...]
H A DParseExprCXX.cpp317 SourceLocation StartLoc local
320 SS.SetInvalid(SourceRange(StartLoc, CCLoc));
/external/clang/lib/Lex/
H A DPPLexerChange.cpp354 SourceLocation StartLoc local
359 StartLoc) != DiagnosticsEngine::Ignored) {
382 Diag(StartLoc, diag::warn_uncovered_module_header)
H A DTokenLexer.cpp462 SourceLocation StartLoc = Tok.getLocation(); local
605 if (StartLoc.isFileID())
606 StartLoc = getExpansionLocForMacroDefLoc(StartLoc);
609 Tok.setLocation(SM.createExpansionLoc(Tok.getLocation(), StartLoc, EndLoc,
H A DPPMacroExpansion.cpp1044 SourceLocation StartLoc = Tok.getLocation(); local
1066 Diag(StartLoc, diag::err_feature_check_malformed);
1097 SourceLocation StartLoc = Tok.getLocation(); local
1109 StartLoc = Tok.getLocation();
1160 Diag(StartLoc, diag::err_warning_check_malformed);
H A DLexer.cpp516 SourceLocation StartLoc = SourceLocation::getFromRawEncoding(StartOffset); local
517 Lexer TheLexer(StartLoc, LangOpts, Buffer->getBufferStart(),
649 return std::make_pair(End.getRawEncoding() - StartLoc.getRawEncoding(),
/external/clang/lib/Rewrite/Core/
H A DHTMLRewrite.cpp279 SourceLocation StartLoc = R.getSourceMgr().getLocForStartOfFile(FID); local
280 SourceLocation EndLoc = StartLoc.getLocWithOffset(FileEnd-FileStart);
349 R.InsertTextBefore(StartLoc, os.str());
/external/llvm/lib/Target/MBlaze/AsmParser/
H A DMBlazeAsmParser.cpp43 virtual bool ParseRegister(unsigned &RegNo, SMLoc &StartLoc, SMLoc &EndLoc);
87 SMLoc StartLoc, EndLoc; member in struct:__anon8910::MBlazeOperand
118 StartLoc = o.StartLoc;
140 SMLoc getStartLoc() const { return StartLoc; }
229 Op->StartLoc = S;
237 Op->StartLoc = S;
245 Op->StartLoc = S;
253 Op->StartLoc = S;
264 Op->StartLoc
390 ParseRegister(unsigned &RegNo, SMLoc &StartLoc, SMLoc &EndLoc) argument
[all...]
/external/clang/lib/Sema/
H A DSemaLambda.cpp580 void Sema::ActOnLambdaError(SourceLocation StartLoc, Scope *CurScope, argument
721 ExprResult Sema::ActOnLambdaExpr(SourceLocation StartLoc, Stmt *Body, argument
H A DSemaTemplateInstantiate.cpp780 SourceLocation StartLoc,
962 SourceLocation StartLoc,
966 StartLoc, NameLoc, Name);
960 RebuildExceptionDecl(VarDecl *ExceptionDecl, TypeSourceInfo *Declarator, SourceLocation StartLoc, SourceLocation NameLoc, IdentifierInfo *Name) argument
H A DSemaTemplateInstantiateDecl.cpp1418 SourceLocation StartLoc = D->getInnerLocStart(); local
1423 StartLoc, NameInfo, T, TInfo,
1429 StartLoc, NameInfo, T, TInfo,
1434 StartLoc, NameInfo, T, TInfo,
1441 StartLoc, NameInfo, T, TInfo,
/external/clang/lib/AST/
H A DDeclObjC.cpp921 SourceLocation StartLoc,
952 return new (C) ObjCIvarDecl(DC, StartLoc, IdLoc, Id, T, TInfo,
994 SourceLocation StartLoc, SourceLocation IdLoc,
996 return new (C) ObjCAtDefsFieldDecl(DC, StartLoc, IdLoc, Id, T, BW);
920 Create(ASTContext &C, ObjCContainerDecl *DC, SourceLocation StartLoc, SourceLocation IdLoc, IdentifierInfo *Id, QualType T, TypeSourceInfo *TInfo, AccessControl ac, Expr *BW, bool synthesized) argument
993 Create(ASTContext &C, DeclContext *DC, SourceLocation StartLoc, SourceLocation IdLoc, IdentifierInfo *Id, QualType T, Expr *BW) argument
H A DDeclTemplate.cpp505 SourceLocation StartLoc,
514 : DeclaratorDecl(NonTypeTemplateParm, DC, IdLoc, Id, T, TInfo, StartLoc),
530 SourceLocation StartLoc, SourceLocation IdLoc,
534 return new (C) NonTypeTemplateParmDecl(DC, StartLoc, IdLoc, D, P, Id,
540 SourceLocation StartLoc, SourceLocation IdLoc,
550 return new (Mem) NonTypeTemplateParmDecl(DC, StartLoc, IdLoc,
694 DeclContext *DC, SourceLocation StartLoc,
700 : CXXRecordDecl(DK, TK, DC, StartLoc, IdLoc,
718 SourceLocation StartLoc,
727 TK, DC, StartLoc, IdLo
504 NonTypeTemplateParmDecl(DeclContext *DC, SourceLocation StartLoc, SourceLocation IdLoc, unsigned D, unsigned P, IdentifierInfo *Id, QualType T, TypeSourceInfo *TInfo, const QualType *ExpandedTypes, unsigned NumExpandedTypes, TypeSourceInfo **ExpandedTInfos) argument
529 Create(const ASTContext &C, DeclContext *DC, SourceLocation StartLoc, SourceLocation IdLoc, unsigned D, unsigned P, IdentifierInfo *Id, QualType T, bool ParameterPack, TypeSourceInfo *TInfo) argument
539 Create(const ASTContext &C, DeclContext *DC, SourceLocation StartLoc, SourceLocation IdLoc, unsigned D, unsigned P, IdentifierInfo *Id, QualType T, TypeSourceInfo *TInfo, const QualType *ExpandedTypes, unsigned NumExpandedTypes, TypeSourceInfo **ExpandedTInfos) argument
693 ClassTemplateSpecializationDecl(ASTContext &Context, Kind DK, TagKind TK, DeclContext *DC, SourceLocation StartLoc, SourceLocation IdLoc, ClassTemplateDecl *SpecializedTemplate, const TemplateArgument *Args, unsigned NumArgs, ClassTemplateSpecializationDecl *PrevDecl) argument
716 Create(ASTContext &Context, TagKind TK, DeclContext *DC, SourceLocation StartLoc, SourceLocation IdLoc, ClassTemplateDecl *SpecializedTemplate, const TemplateArgument *Args, unsigned NumArgs, ClassTemplateSpecializationDecl *PrevDecl) argument
795 ClassTemplatePartialSpecializationDecl(ASTContext &Context, TagKind TK, DeclContext *DC, SourceLocation StartLoc, SourceLocation IdLoc, TemplateParameterList *Params, ClassTemplateDecl *SpecializedTemplate, const TemplateArgument *Args, unsigned NumArgs, TemplateArgumentLoc *ArgInfos, unsigned NumArgInfos, ClassTemplatePartialSpecializationDecl *PrevDecl, unsigned SequenceNumber) argument
821 Create(ASTContext &Context, TagKind TK,DeclContext *DC, SourceLocation StartLoc, SourceLocation IdLoc, TemplateParameterList *Params, ClassTemplateDecl *SpecializedTemplate, const TemplateArgument *Args, unsigned NumArgs, const TemplateArgumentListInfo &ArgInfos, QualType CanonInjectedType, ClassTemplatePartialSpecializationDecl *PrevDecl, unsigned SequenceNumber) argument
[all...]
H A DDeclCXX.cpp72 SourceLocation StartLoc, SourceLocation IdLoc,
74 : RecordDecl(K, TK, DC, StartLoc, IdLoc, Id, PrevDecl),
79 DeclContext *DC, SourceLocation StartLoc,
83 CXXRecordDecl* R = new (C) CXXRecordDecl(CXXRecord, TK, DC, StartLoc, IdLoc,
1343 SourceLocation StartLoc,
1348 return new (C) CXXMethodDecl(CXXMethod, RD, StartLoc, NameInfo, T, TInfo,
1619 SourceLocation StartLoc,
1627 return new (C) CXXConstructorDecl(RD, StartLoc, NameInfo, T, TInfo,
1769 SourceLocation StartLoc,
1776 return new (C) CXXDestructorDecl(RD, StartLoc, NameInf
71 CXXRecordDecl(Kind K, TagKind TK, DeclContext *DC, SourceLocation StartLoc, SourceLocation IdLoc, IdentifierInfo *Id, CXXRecordDecl *PrevDecl) argument
78 Create(const ASTContext &C, TagKind TK, DeclContext *DC, SourceLocation StartLoc, SourceLocation IdLoc, IdentifierInfo *Id, CXXRecordDecl* PrevDecl, bool DelayTypeCreation) argument
1342 Create(ASTContext &C, CXXRecordDecl *RD, SourceLocation StartLoc, const DeclarationNameInfo &NameInfo, QualType T, TypeSourceInfo *TInfo, bool isStatic, StorageClass SCAsWritten, bool isInline, bool isConstexpr, SourceLocation EndLocation) argument
1618 Create(ASTContext &C, CXXRecordDecl *RD, SourceLocation StartLoc, const DeclarationNameInfo &NameInfo, QualType T, TypeSourceInfo *TInfo, bool isExplicit, bool isInline, bool isImplicitlyDeclared, bool isConstexpr) argument
1768 Create(ASTContext &C, CXXRecordDecl *RD, SourceLocation StartLoc, const DeclarationNameInfo &NameInfo, QualType T, TypeSourceInfo *TInfo, bool isInline, bool isImplicitlyDeclared) argument
1791 Create(ASTContext &C, CXXRecordDecl *RD, SourceLocation StartLoc, const DeclarationNameInfo &NameInfo, QualType T, TypeSourceInfo *TInfo, bool isInline, bool isExplicit, bool isConstexpr, SourceLocation EndLocation) argument
1859 NamespaceDecl(DeclContext *DC, bool Inline, SourceLocation StartLoc, SourceLocation IdLoc, IdentifierInfo *Id, NamespaceDecl *PrevDecl) argument
1872 Create(ASTContext &C, DeclContext *DC, bool Inline, SourceLocation StartLoc, SourceLocation IdLoc, IdentifierInfo *Id, NamespaceDecl *PrevDecl) argument
[all...]
H A DASTImporter.cpp2355 SourceLocation StartLoc = Importer.Import(D->getLocStart()); local
2360 DC, StartLoc, Loc,
2366 DC, StartLoc, Loc, Name.getAsIdentifierInfo());
3765 SourceLocation StartLoc = Importer.Import(DTemplated->getLocStart()); local
3769 DC, StartLoc, IdLoc,
3836 SourceLocation StartLoc = Importer.Import(D->getLocStart()); local
3869 StartLoc, IdLoc,
H A DDecl.cpp1557 SourceLocation StartLoc,
1562 return new (C) ParmVarDecl(ParmVar, DC, StartLoc, IdLoc, Id, T, TInfo,
2481 SourceLocation StartLoc, SourceLocation IdLoc,
2485 return new (C) FieldDecl(Decl::Field, DC, StartLoc, IdLoc, Id, T, TInfo,
2656 SourceLocation StartLoc, SourceLocation IdLoc,
2660 EnumDecl *Enum = new (C) EnumDecl(DC, StartLoc, IdLoc, Id, PrevDecl,
2721 SourceLocation StartLoc, SourceLocation IdLoc,
2723 : TagDecl(DK, TK, DC, IdLoc, Id, PrevDecl, StartLoc) {
2732 SourceLocation StartLoc, SourceLocation IdLoc,
2734 RecordDecl* R = new (C) RecordDecl(Record, TK, DC, StartLoc, IdLo
1556 Create(ASTContext &C, DeclContext *DC, SourceLocation StartLoc, SourceLocation IdLoc, IdentifierInfo *Id, QualType T, TypeSourceInfo *TInfo, StorageClass S, StorageClass SCAsWritten, Expr *DefArg) argument
2480 Create(const ASTContext &C, DeclContext *DC, SourceLocation StartLoc, SourceLocation IdLoc, IdentifierInfo *Id, QualType T, TypeSourceInfo *TInfo, Expr *BW, bool Mutable, InClassInitStyle InitStyle) argument
2655 Create(ASTContext &C, DeclContext *DC, SourceLocation StartLoc, SourceLocation IdLoc, IdentifierInfo *Id, EnumDecl *PrevDecl, bool IsScoped, bool IsScopedUsingClassTag, bool IsFixed) argument
2720 RecordDecl(Kind DK, TagKind TK, DeclContext *DC, SourceLocation StartLoc, SourceLocation IdLoc, IdentifierInfo *Id, RecordDecl *PrevDecl) argument
2731 Create(const ASTContext &C, TagKind TK, DeclContext *DC, SourceLocation StartLoc, SourceLocation IdLoc, IdentifierInfo *Id, RecordDecl* PrevDecl) argument
2898 Create(ASTContext &C, DeclContext *DC, SourceLocation StartLoc, const DeclarationNameInfo &NameInfo, QualType T, TypeSourceInfo *TInfo, StorageClass SC, StorageClass SCAsWritten, bool isInlineSpecified, bool hasWrittenPrototype, bool isConstexprSpecified) argument
2969 Create(ASTContext &C, DeclContext *DC, SourceLocation StartLoc, SourceLocation IdLoc, IdentifierInfo *Id, TypeSourceInfo *TInfo) argument
2982 Create(ASTContext &C, DeclContext *DC, SourceLocation StartLoc, SourceLocation IdLoc, IdentifierInfo *Id, TypeSourceInfo *TInfo) argument
3040 ImportDecl(DeclContext *DC, SourceLocation StartLoc, Module *Imported, ArrayRef<SourceLocation> IdentifierLocs) argument
3052 ImportDecl(DeclContext *DC, SourceLocation StartLoc, Module *Imported, SourceLocation EndLoc) argument
3060 Create(ASTContext &C, DeclContext *DC, SourceLocation StartLoc, Module *Imported, ArrayRef<SourceLocation> IdentifierLocs) argument
3068 CreateImplicit(ASTContext &C, DeclContext *DC, SourceLocation StartLoc, Module *Imported, SourceLocation EndLoc) argument
[all...]
/external/llvm/lib/Target/Mips/AsmParser/
H A DMipsAsmParser.cpp48 bool ParseRegister(unsigned &RegNo, SMLoc &StartLoc, SMLoc &EndLoc);
155 SMLoc StartLoc, EndLoc; member in class:__anon8937::MipsOperand
222 Op->StartLoc = S;
230 Op->StartLoc = S;
238 Op->StartLoc = S;
248 Op->StartLoc = S;
254 SMLoc getStartLoc() const { return StartLoc; }
628 bool MipsAsmParser::ParseRegister(unsigned &RegNo, SMLoc &StartLoc, argument
631 StartLoc = Parser.getTok().getLoc();
/external/clang/include/clang/AST/
H A DDeclTemplate.h1011 NonTypeTemplateParmDecl(DeclContext *DC, SourceLocation StartLoc, argument
1015 : DeclaratorDecl(NonTypeTemplateParm, DC, IdLoc, Id, T, TInfo, StartLoc),
1021 NonTypeTemplateParmDecl(DeclContext *DC, SourceLocation StartLoc,
1033 Create(const ASTContext &C, DeclContext *DC, SourceLocation StartLoc,
1038 Create(const ASTContext &C, DeclContext *DC, SourceLocation StartLoc,
1396 DeclContext *DC, SourceLocation StartLoc,
1408 SourceLocation StartLoc, SourceLocation IdLoc,
1633 SourceLocation StartLoc,
1653 SourceLocation StartLoc, SourceLocation IdLoc,
H A DExprCXX.h1473 SourceLocation StartLoc; member in class:clang::CXXNewExpr
1622 SourceLocation getStartLoc() const { return StartLoc; }
/external/clang/include/clang/Sema/
H A DInitialization.h429 static InitializationKind CreateCStyleCast(SourceLocation StartLoc, argument
435 IC_CStyleCast, StartLoc, TypeRange.getBegin(),
/external/llvm/lib/Target/X86/AsmParser/
H A DX86AsmParser.cpp58 X86Operand *ParseMemOperand(unsigned SegReg, SMLoc StartLoc);
115 virtual bool ParseRegister(unsigned &RegNo, SMLoc &StartLoc, SMLoc &EndLoc);
172 SMLoc StartLoc, EndLoc; member in struct:__anon8982::X86Operand
199 : Kind(K), StartLoc(Start), EndLoc(End) {}
202 SMLoc getStartLoc() const { return StartLoc; }
206 SMRange getLocRange() const { return SMRange(StartLoc, EndLoc); }
451 static X86Operand *CreateReg(unsigned RegNo, SMLoc StartLoc, SMLoc EndLoc) { argument
452 X86Operand *Res = new X86Operand(Register, StartLoc, EndLoc);
457 static X86Operand *CreateImm(const MCExpr *Val, SMLoc StartLoc, SMLoc EndLoc){ argument
458 X86Operand *Res = new X86Operand(Immediate, StartLoc, EndLo
464 CreateMem(const MCExpr *Disp, SMLoc StartLoc, SMLoc EndLoc, unsigned Size = 0) argument
477 CreateMem(unsigned SegReg, const MCExpr *Disp, unsigned BaseReg, unsigned IndexReg, unsigned Scale, SMLoc StartLoc, SMLoc EndLoc, unsigned Size = 0) argument
521 ParseRegister(unsigned &RegNo, SMLoc &StartLoc, SMLoc &EndLoc) argument
889 SMLoc StartLoc, EndLoc; local
[all...]
/external/clang/lib/CodeGen/
H A DCodeGenFunction.cpp334 SourceLocation StartLoc) {
390 DI->setLocation(StartLoc);
462 DI->EmitLocation(Builder, StartLoc);
330 StartFunction(GlobalDecl GD, QualType RetTy, llvm::Function *Fn, const CGFunctionInfo &FnInfo, const FunctionArgList &Args, SourceLocation StartLoc) argument

Completed in 340 milliseconds

12