Searched defs:DefaultArg (Results 1 - 8 of 8) sorted by relevance
/external/clang/test/SemaCXX/ |
H A D | typo-correction-delayed.cpp | 108 const int DefaultArg = 9; // expected-note {{'DefaultArg' declared here}} variable 109 template <int I = defaultArg> struct S {}; // expected-error {{use of undeclared identifier 'defaultArg'; did you mean 'DefaultArg'?}}
|
/external/clang/lib/Parse/ |
H A D | ParseTemplate.cpp | 538 ParsedType DefaultArg; local 540 DefaultArg = ParseTypeName(/*Range=*/nullptr, 545 EqualLoc, DefaultArg); 642 ParsedTemplateArgument DefaultArg; local 644 DefaultArg = ParseTemplateTemplateArgument(); 645 if (DefaultArg.isInvalid()) { 656 Position, EqualLoc, DefaultArg); 690 ExprResult DefaultArg; local 701 DefaultArg = Actions.CorrectDelayedTyposInExpr(ParseAssignmentExpression()); 702 if (DefaultArg [all...] |
/external/clang/lib/Sema/ |
H A D | SemaLookup.cpp | 1439 auto &DefaultArg = D->getDefaultArgStorage(); local 1440 if (!DefaultArg.isInherited() && S.isVisible(D)) 1443 if (!DefaultArg.isInherited() && Modules) { 1451 D = DefaultArg.getInheritedFrom();
|
H A D | SemaExprCXX.cpp | 824 Expr *DefaultArg = local 826 Context.addDefaultArgExprForConstructor(CD, I, DefaultArg);
|
H A D | SemaTemplate.cpp | 555 ParsedType DefaultArg) { 584 if (DefaultArg && IsParameterPack) { 586 DefaultArg = ParsedType(); 590 if (DefaultArg) { 592 GetTypeFromParser(DefaultArg, &DefaultTInfo); 791 TemplateArgumentLoc DefaultArg = translateTemplateArgument(*this, Default); local 792 if (DefaultArg.getArgument().getAsTemplate().isNull()) { 793 Diag(DefaultArg.getLocation(), diag::err_template_arg_not_class_template) 794 << DefaultArg.getSourceRange(); 799 if (DiagnoseUnexpandedParameterPack(DefaultArg 548 ActOnTypeParameter(Scope *S, bool Typename, SourceLocation EllipsisLoc, SourceLocation KeyLoc, IdentifierInfo *ParamName, SourceLocation ParamNameLoc, unsigned Depth, unsigned Position, SourceLocation EqualLoc, ParsedType DefaultArg) argument [all...] |
H A D | SemaDeclCXX.cpp | 59 Expr *DefaultArg; member in class:__anon1503::CheckDefaultArgumentVisitor 64 : DefaultArg(defarg), S(s) {} 97 << Param->getDeclName() << DefaultArg->getSourceRange(); 105 << VDecl->getDeclName() << DefaultArg->getSourceRange(); 298 Expr *DefaultArg) { 299 if (!param || !DefaultArg) 308 << DefaultArg->getSourceRange(); 314 if (DiagnoseUnexpandedParameterPack(DefaultArg, UPPC_DefaultArgument)) { 324 << DefaultArg->getSourceRange(); 329 CheckDefaultArgumentVisitor DefaultArgChecker(DefaultArg, thi 297 ActOnParamDefaultArgument(Decl *param, SourceLocation EqualLoc, Expr *DefaultArg) argument 9486 Expr *DefaultArg = S.BuildCXXDefaultArgExpr(Class->getLocation(), CD, local [all...] |
/external/clang/test/Analysis/ |
H A D | dtor.cpp | 162 struct DefaultArg { struct 163 DefaultArg(int x = 0) {} function in struct:DefaultArg 164 ~DefaultArg(); 167 struct InheritsDefaultArg : DefaultArg {
|
/external/clang/lib/CodeGen/ |
H A D | MicrosoftCXXABI.cpp | 3856 Stmt *DefaultArg = getContext().getDefaultArgExprForConstructor(CD, I); local 3857 assert(DefaultArg && "sema forgot to instantiate default args"); 3858 ArgVec.push_back(DefaultArg);
|
Completed in 161 milliseconds