/external/clang/lib/Parse/ |
D | ParseInit.cpp | 223 SourceLocation StartLoc = T.getOpenLocation(); in ParseInitializerWithPotentialDesignator() local 236 CheckArrayDesignatorSyntax(*this, StartLoc, Desig); in ParseInitializerWithPotentialDesignator() 237 return ParseAssignmentExprWithObjCMessageExprStart(StartLoc, in ParseInitializerWithPotentialDesignator() 254 CheckArrayDesignatorSyntax(*this, StartLoc, Desig); in ParseInitializerWithPotentialDesignator() 255 return ParseAssignmentExprWithObjCMessageExprStart(StartLoc, in ParseInitializerWithPotentialDesignator() 280 CheckArrayDesignatorSyntax(*this, StartLoc, Desig); in ParseInitializerWithPotentialDesignator() 282 return ParseAssignmentExprWithObjCMessageExprStart(StartLoc, in ParseInitializerWithPotentialDesignator() 292 return ParseAssignmentExprWithObjCMessageExprStart(StartLoc, in ParseInitializerWithPotentialDesignator() 327 return ParseAssignmentExprWithObjCMessageExprStart(StartLoc, in ParseInitializerWithPotentialDesignator() 335 Desig.AddDesignator(Designator::getArray(Idx.release(), StartLoc)); in ParseInitializerWithPotentialDesignator() [all …]
|
D | ParseDeclCXX.cpp | 664 SourceLocation StartLoc = Tok.getLocation(); in ParseDecltypeSpecifier() local 686 StartLoc : T.getOpenLocation(); in ParseDecltypeSpecifier() 699 return StartLoc; in ParseDecltypeSpecifier() 723 if (DS.SetTypeSpecType(DeclSpec::TST_decltype, StartLoc, PrevSpec, in ParseDecltypeSpecifier() 725 Diag(StartLoc, DiagID) << PrevSpec; in ParseDecltypeSpecifier() 732 SourceLocation StartLoc, in AnnotateExistingDecltypeSpecifier() argument 744 Tok.setLocation(StartLoc); in AnnotateExistingDecltypeSpecifier() 752 SourceLocation StartLoc = ConsumeToken(); in ParseUnderlyingTypeSpecifier() local 772 if (DS.SetTypeSpecType(DeclSpec::TST_underlyingType, StartLoc, PrevSpec, in ParseUnderlyingTypeSpecifier() 774 Diag(StartLoc, DiagID) << PrevSpec; in ParseUnderlyingTypeSpecifier() [all …]
|
D | Parser.cpp | 227 SourceLocation StartLoc = Tok.getLocation(); in ConsumeExtraSemi() local 241 Diag(StartLoc, diag::warn_cxx98_compat_top_level_semi) in ConsumeExtraSemi() 242 << FixItHint::CreateRemoval(SourceRange(StartLoc, EndLoc)); in ConsumeExtraSemi() 244 Diag(StartLoc, diag::ext_extra_semi_cxx11) in ConsumeExtraSemi() 245 << FixItHint::CreateRemoval(SourceRange(StartLoc, EndLoc)); in ConsumeExtraSemi() 250 Diag(StartLoc, diag::ext_extra_semi) in ConsumeExtraSemi() 252 << FixItHint::CreateRemoval(SourceRange(StartLoc, EndLoc)); in ConsumeExtraSemi() 255 Diag(StartLoc, diag::warn_extra_semi_after_mem_fn_def) in ConsumeExtraSemi() 256 << FixItHint::CreateRemoval(SourceRange(StartLoc, EndLoc)); in ConsumeExtraSemi() 657 SourceLocation StartLoc = Tok.getLocation(); in ParseExternalDeclaration() local [all …]
|
D | ParseDecl.cpp | 3051 void Parser::ParseEnumSpecifier(SourceLocation StartLoc, DeclSpec &DS, in ParseEnumSpecifier() argument 3226 Diag(StartLoc, diag::ext_ms_enum_fixed_underlying_type) in ParseEnumSpecifier() 3229 Diag(StartLoc, diag::warn_cxx98_compat_enum_fixed_underlying_type); in ParseEnumSpecifier() 3291 Diag(StartLoc, diag::err_explicit_instantiation_enum); in ParseEnumSpecifier() 3316 StartLoc, SS, Name, NameLoc, attrs.getList(), in ParseEnumSpecifier() 3331 TUK, SS, Name, StartLoc, in ParseEnumSpecifier() 3338 if (DS.SetTypeSpecType(DeclSpec::TST_typename, StartLoc, in ParseEnumSpecifier() 3339 NameLoc.isValid() ? NameLoc : StartLoc, in ParseEnumSpecifier() 3341 Diag(StartLoc, DiagID) << PrevSpec; in ParseEnumSpecifier() 3359 ParseEnumBody(StartLoc, TagDecl); in ParseEnumSpecifier() [all …]
|
/external/llvm/lib/Target/MBlaze/AsmParser/ |
D | MBlazeAsmParser.cpp | 43 virtual bool ParseRegister(unsigned &RegNo, SMLoc &StartLoc, SMLoc &EndLoc); 87 SMLoc StartLoc, EndLoc; member 118 StartLoc = o.StartLoc; in MBlazeOperand() 140 SMLoc getStartLoc() const { return StartLoc; } in getStartLoc() 229 Op->StartLoc = S; in CreateToken() 237 Op->StartLoc = S; in CreateReg() 245 Op->StartLoc = S; in CreateImm() 253 Op->StartLoc = S; in CreateFslImm() 264 Op->StartLoc = S; in CreateMem() 275 Op->StartLoc = S; in CreateMem() [all …]
|
/external/clang/include/clang/AST/ |
D | Decl.h | 408 NamespaceDecl(DeclContext *DC, bool Inline, SourceLocation StartLoc, 425 bool Inline, SourceLocation StartLoc, 815 VarDecl(Kind DK, DeclContext *DC, SourceLocation StartLoc, in VarDecl() argument 819 : DeclaratorDecl(DK, DC, IdLoc, Id, T, TInfo, StartLoc), Init() { in VarDecl() 845 SourceLocation StartLoc, SourceLocation IdLoc, 1244 ParmVarDecl(Kind DK, DeclContext *DC, SourceLocation StartLoc, in ParmVarDecl() argument 1248 : VarDecl(DK, DC, StartLoc, IdLoc, Id, T, TInfo, S, SCAsWritten) { in ParmVarDecl() 1257 SourceLocation StartLoc, 1550 FunctionDecl(Kind DK, DeclContext *DC, SourceLocation StartLoc, in FunctionDecl() argument 1556 StartLoc), in FunctionDecl() [all …]
|
D | DeclCXX.h | 653 SourceLocation StartLoc, SourceLocation IdLoc, 704 SourceLocation StartLoc, SourceLocation IdLoc, 1524 CXXMethodDecl(Kind DK, CXXRecordDecl *RD, SourceLocation StartLoc, 1529 : FunctionDecl(DK, RD, StartLoc, NameInfo, T, TInfo, 1538 SourceLocation StartLoc, 1953 CXXConstructorDecl(CXXRecordDecl *RD, SourceLocation StartLoc, 1958 : CXXMethodDecl(CXXConstructor, RD, StartLoc, NameInfo, T, TInfo, false, 1968 SourceLocation StartLoc, 2174 CXXDestructorDecl(CXXRecordDecl *RD, SourceLocation StartLoc, 2178 : CXXMethodDecl(CXXDestructor, RD, StartLoc, NameInfo, T, TInfo, false, [all …]
|
D | DeclTemplate.h | 1011 NonTypeTemplateParmDecl(DeclContext *DC, SourceLocation StartLoc, 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,
|
D | DeclObjC.h | 1027 ObjCIvarDecl(ObjCContainerDecl *DC, SourceLocation StartLoc, in ObjCIvarDecl() argument 1031 : FieldDecl(ObjCIvar, DC, StartLoc, IdLoc, Id, T, TInfo, BW, in ObjCIvarDecl() 1037 SourceLocation StartLoc, SourceLocation IdLoc, 1084 ObjCAtDefsFieldDecl(DeclContext *DC, SourceLocation StartLoc, in ObjCAtDefsFieldDecl() argument 1087 : FieldDecl(ObjCAtDefsField, DC, StartLoc, IdLoc, Id, T, in ObjCAtDefsFieldDecl() 1093 SourceLocation StartLoc,
|
/external/clang/lib/AST/ |
D | DeclTemplate.cpp | 505 SourceLocation StartLoc, in NonTypeTemplateParmDecl() argument 514 : DeclaratorDecl(NonTypeTemplateParm, DC, IdLoc, Id, T, TInfo, StartLoc), in NonTypeTemplateParmDecl() 530 SourceLocation StartLoc, SourceLocation IdLoc, in Create() argument 534 return new (C) NonTypeTemplateParmDecl(DC, StartLoc, IdLoc, D, P, Id, in Create() 540 SourceLocation StartLoc, SourceLocation IdLoc, in Create() argument 550 return new (Mem) NonTypeTemplateParmDecl(DC, StartLoc, IdLoc, in Create() 694 DeclContext *DC, SourceLocation StartLoc, in ClassTemplateSpecializationDecl() argument 700 : CXXRecordDecl(DK, TK, DC, StartLoc, IdLoc, in ClassTemplateSpecializationDecl() 718 SourceLocation StartLoc, in Create() argument 727 TK, DC, StartLoc, IdLoc, in Create() [all …]
|
D | Decl.cpp | 1557 SourceLocation StartLoc, in Create() argument 1562 return new (C) ParmVarDecl(ParmVar, DC, StartLoc, IdLoc, Id, T, TInfo, in Create() 2481 SourceLocation StartLoc, SourceLocation IdLoc, in Create() argument 2485 return new (C) FieldDecl(Decl::Field, DC, StartLoc, IdLoc, Id, T, TInfo, in Create() 2656 SourceLocation StartLoc, SourceLocation IdLoc, in Create() argument 2660 EnumDecl *Enum = new (C) EnumDecl(DC, StartLoc, IdLoc, Id, PrevDecl, in Create() 2721 SourceLocation StartLoc, SourceLocation IdLoc, in RecordDecl() argument 2723 : TagDecl(DK, TK, DC, IdLoc, Id, PrevDecl, StartLoc) { in RecordDecl() 2732 SourceLocation StartLoc, SourceLocation IdLoc, in Create() argument 2734 RecordDecl* R = new (C) RecordDecl(Record, TK, DC, StartLoc, IdLoc, Id, in Create() [all …]
|
D | DeclCXX.cpp | 72 SourceLocation StartLoc, SourceLocation IdLoc, in CXXRecordDecl() argument 74 : RecordDecl(K, TK, DC, StartLoc, IdLoc, Id, PrevDecl), in CXXRecordDecl() 79 DeclContext *DC, SourceLocation StartLoc, in Create() argument 83 CXXRecordDecl* R = new (C) CXXRecordDecl(CXXRecord, TK, DC, StartLoc, IdLoc, in Create() 1343 SourceLocation StartLoc, in Create() argument 1348 return new (C) CXXMethodDecl(CXXMethod, RD, StartLoc, NameInfo, T, TInfo, in Create() 1619 SourceLocation StartLoc, in Create() argument 1627 return new (C) CXXConstructorDecl(RD, StartLoc, NameInfo, T, TInfo, in Create() 1769 SourceLocation StartLoc, in Create() argument 1776 return new (C) CXXDestructorDecl(RD, StartLoc, NameInfo, T, TInfo, isInline, in Create() [all …]
|
D | DeclObjC.cpp | 921 SourceLocation StartLoc, in Create() argument 952 return new (C) ObjCIvarDecl(DC, StartLoc, IdLoc, Id, T, TInfo, in Create() 994 SourceLocation StartLoc, SourceLocation IdLoc, in Create() argument 996 return new (C) ObjCAtDefsFieldDecl(DC, StartLoc, IdLoc, Id, T, BW); in Create()
|
/external/llvm/lib/Target/X86/AsmParser/ |
D | X86AsmParser.cpp | 58 X86Operand *ParseMemOperand(unsigned SegReg, SMLoc StartLoc); 115 virtual bool ParseRegister(unsigned &RegNo, SMLoc &StartLoc, SMLoc &EndLoc); 172 SMLoc StartLoc, EndLoc; member 199 : Kind(K), StartLoc(Start), EndLoc(End) {} in X86Operand() 202 SMLoc getStartLoc() const { return StartLoc; } in getStartLoc() 206 SMRange getLocRange() const { return SMRange(StartLoc, EndLoc); } in getLocRange() 451 static X86Operand *CreateReg(unsigned RegNo, SMLoc StartLoc, SMLoc EndLoc) { in CreateReg() 452 X86Operand *Res = new X86Operand(Register, StartLoc, EndLoc); in CreateReg() 457 static X86Operand *CreateImm(const MCExpr *Val, SMLoc StartLoc, SMLoc EndLoc){ in CreateImm() 458 X86Operand *Res = new X86Operand(Immediate, StartLoc, EndLoc); in CreateImm() [all …]
|
/external/clang/lib/Sema/ |
D | SemaExprCXX.cpp | 956 Sema::ActOnCXXNew(SourceLocation StartLoc, bool UseGlobal, in ActOnCXXNew() argument 1010 return BuildCXXNew(StartLoc, UseGlobal, in ActOnCXXNew() 1043 Sema::BuildCXXNew(SourceLocation StartLoc, bool UseGlobal, in BuildCXXNew() argument 1097 return ExprError(Diag(StartLoc, diag::err_auto_new_requires_ctor_arg) in BuildCXXNew() 1112 return ExprError(Diag(StartLoc, diag::err_auto_new_deduction_failure) in BuildCXXNew() 1215 = ConvertToIntegralOrEnumerationType(StartLoc, ArraySize, SizeDiagnoser, in BuildCXXNew() 1282 Diag(StartLoc, diag::warn_err_new_delete_object_array) in BuildCXXNew() 1298 FindAllocationFunctions(StartLoc, in BuildCXXNew() 1309 = doesUsualArrayDeleteWantSize(*this, StartLoc, AllocType); in BuildCXXNew() 1342 Diag(StartLoc, diag::warn_overaligned_type) in BuildCXXNew() [all …]
|
/external/llvm/lib/Target/Mips/AsmParser/ |
D | MipsAsmParser.cpp | 48 bool ParseRegister(unsigned &RegNo, SMLoc &StartLoc, SMLoc &EndLoc); 155 SMLoc StartLoc, EndLoc; member in __anone4d0805a0211::MipsOperand 222 Op->StartLoc = S; in CreateToken() 230 Op->StartLoc = S; in CreateReg() 238 Op->StartLoc = S; in CreateImm() 248 Op->StartLoc = S; in CreateMem() 254 SMLoc getStartLoc() const { return StartLoc; } in getStartLoc() 628 bool MipsAsmParser::ParseRegister(unsigned &RegNo, SMLoc &StartLoc, in ParseRegister() argument 631 StartLoc = Parser.getTok().getLoc(); in ParseRegister()
|
/external/clang/lib/Lex/ |
D | TokenLexer.cpp | 462 SourceLocation StartLoc = Tok.getLocation(); in PasteTokens() local 605 if (StartLoc.isFileID()) in PasteTokens() 606 StartLoc = getExpansionLocForMacroDefLoc(StartLoc); in PasteTokens() 609 Tok.setLocation(SM.createExpansionLoc(Tok.getLocation(), StartLoc, EndLoc, in PasteTokens()
|
D | PPLexerChange.cpp | 354 SourceLocation StartLoc in HandleEndOfFile() local 359 StartLoc) != DiagnosticsEngine::Ignored) { in HandleEndOfFile() 382 Diag(StartLoc, diag::warn_uncovered_module_header) in HandleEndOfFile()
|
D | PPMacroExpansion.cpp | 1044 SourceLocation StartLoc = Tok.getLocation(); in ExpandBuiltinMacro() local 1066 Diag(StartLoc, diag::err_feature_check_malformed); in ExpandBuiltinMacro() 1097 SourceLocation StartLoc = Tok.getLocation(); in ExpandBuiltinMacro() local 1109 StartLoc = Tok.getLocation(); in ExpandBuiltinMacro() 1160 Diag(StartLoc, diag::err_warning_check_malformed); in ExpandBuiltinMacro()
|
/external/clang/lib/Rewrite/Core/ |
D | HTMLRewrite.cpp | 279 SourceLocation StartLoc = R.getSourceMgr().getLocForStartOfFile(FID); in AddHeaderFooterInternalBuiltinCSS() local 280 SourceLocation EndLoc = StartLoc.getLocWithOffset(FileEnd-FileStart); in AddHeaderFooterInternalBuiltinCSS() 349 R.InsertTextBefore(StartLoc, os.str()); in AddHeaderFooterInternalBuiltinCSS()
|
/external/llvm/include/llvm/MC/ |
D | MCTargetAsmParser.h | 50 virtual bool ParseRegister(unsigned &RegNo, SMLoc &StartLoc,
|
/external/clang/lib/StaticAnalyzer/Core/ |
D | CoreEngine.cpp | 188 BlockEdge StartLoc(Entry, Succ, L); in ExecuteWorkList() local 195 generateNode(StartLoc, SubEng.getInitialState(L), 0); in ExecuteWorkList() 197 generateNode(StartLoc, InitState, 0); in ExecuteWorkList()
|
/external/llvm/lib/Target/ARM/AsmParser/ |
D | ARMAsmParser.cpp | 255 bool ParseRegister(unsigned &RegNo, SMLoc &StartLoc, SMLoc &EndLoc); 308 SMLoc StartLoc, EndLoc; member in __anon1a66d4c80311::ARMOperand 414 StartLoc = o.StartLoc; in ARMOperand() 487 SMLoc getStartLoc() const { return StartLoc; } in getStartLoc() 491 SMRange getLocRange() const { return SMRange(StartLoc, EndLoc); } in getLocRange() 2072 Op->StartLoc = S; in CreateITMask() 2080 Op->StartLoc = S; in CreateCondCode() 2088 Op->StartLoc = S; in CreateCoprocNum() 2096 Op->StartLoc = S; in CreateCoprocReg() 2104 Op->StartLoc = S; in CreateCoprocOption() [all …]
|
/external/clang/lib/Rewrite/Frontend/ |
D | RewriteModernObjC.cpp | 368 SourceLocation StartLoc=SourceLocation(), 379 SourceLocation StartLoc=SourceLocation(), 704 SourceLocation StartLoc = IFace->getLocStart(); in HandleTopLevelSingleDecl() local 708 StartLoc == (*DI)->getLocStart()) in HandleTopLevelSingleDecl() 729 SourceLocation StartLoc = Proto->getLocStart(); in HandleTopLevelSingleDecl() local 733 StartLoc == (*DI)->getLocStart()) in HandleTopLevelSingleDecl() 2055 FunctionDecl *FD, Expr **args, unsigned nargs, SourceLocation StartLoc, in SynthesizeCallToFunctionDecl() argument 2600 SourceLocation StartLoc = Exp->getLocStart(); in RewriteObjCBoxedExpr() local 2620 StartLoc, EndLoc); in RewriteObjCBoxedExpr() 2632 StartLoc, EndLoc); in RewriteObjCBoxedExpr() [all …]
|
/external/clang/include/clang/Sema/ |
D | Initialization.h | 429 static InitializationKind CreateCStyleCast(SourceLocation StartLoc, in CreateCStyleCast() argument 435 IC_CStyleCast, StartLoc, TypeRange.getBegin(), in CreateCStyleCast()
|