Searched defs:DefaultArg (Results 1 - 4 of 4) sorted by relevance
/external/clang/lib/Parse/ |
H A D | ParseTemplate.cpp | 508 ParsedType DefaultArg; local 510 DefaultArg = ParseTypeName(/*Range=*/nullptr, 515 EqualLoc, DefaultArg); 613 ParsedTemplateArgument DefaultArg; local 615 DefaultArg = ParseTemplateTemplateArgument(); 616 if (DefaultArg.isInvalid()) { 627 Position, EqualLoc, DefaultArg); 661 ExprResult DefaultArg; local 671 DefaultArg = ParseAssignmentExpression(); 672 if (DefaultArg [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/Sema/ |
H A D | SemaTemplate.cpp | 554 ParsedType DefaultArg) { 583 if (DefaultArg && IsParameterPack) { 585 DefaultArg = ParsedType(); 589 if (DefaultArg) { 591 GetTypeFromParser(DefaultArg, &DefaultTInfo); 793 TemplateArgumentLoc DefaultArg = translateTemplateArgument(*this, Default); local 794 if (DefaultArg.getArgument().getAsTemplate().isNull()) { 795 Diag(DefaultArg.getLocation(), diag::err_template_arg_not_class_template) 796 << DefaultArg.getSourceRange(); 801 if (DiagnoseUnexpandedParameterPack(DefaultArg 547 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 | 58 Expr *DefaultArg; member in class:__anon18029::CheckDefaultArgumentVisitor 63 : DefaultArg(defarg), S(s) {} 96 << Param->getDeclName() << DefaultArg->getSourceRange(); 104 << VDecl->getDeclName() << DefaultArg->getSourceRange(); 299 Expr *DefaultArg) { 300 if (!param || !DefaultArg) 309 << DefaultArg->getSourceRange(); 315 if (DiagnoseUnexpandedParameterPack(DefaultArg, UPPC_DefaultArgument)) { 321 CheckDefaultArgumentVisitor DefaultArgChecker(DefaultArg, this); 322 if (DefaultArgChecker.Visit(DefaultArg)) { 298 ActOnParamDefaultArgument(Decl *param, SourceLocation EqualLoc, Expr *DefaultArg) argument [all...] |
Completed in 97 milliseconds