Searched defs:DefaultArg (Results 1 - 4 of 4) sorted by relevance
/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/Parse/ |
H A D | ParseTemplate.cpp | 503 ParsedType DefaultArg; local 506 DefaultArg = ParseTypeName(/*Range=*/0, 512 Depth, Position, EqualLoc, DefaultArg); 597 ParsedTemplateArgument DefaultArg; local 600 DefaultArg = ParseTemplateTemplateArgument(); 601 if (DefaultArg.isInvalid()) { 611 Position, EqualLoc, DefaultArg); 640 ExprResult DefaultArg; local 652 DefaultArg = ParseAssignmentExpression(); 653 if (DefaultArg [all...] |
/external/clang/lib/Sema/ |
H A D | SemaTemplate.cpp | 552 ParsedType DefaultArg) { 588 if (DefaultArg && Ellipsis) { 590 DefaultArg = ParsedType(); 594 if (DefaultArg) { 596 GetTypeFromParser(DefaultArg, &DefaultTInfo); 803 TemplateArgumentLoc DefaultArg = translateTemplateArgument(*this, Default); local 804 if (DefaultArg.getArgument().getAsTemplate().isNull()) { 805 Diag(DefaultArg.getLocation(), diag::err_template_arg_not_class_template) 806 << DefaultArg.getSourceRange(); 811 if (DiagnoseUnexpandedParameterPack(DefaultArg 545 ActOnTypeParameter(Scope *S, bool Typename, bool Ellipsis, SourceLocation EllipsisLoc, SourceLocation KeyLoc, IdentifierInfo *ParamName, SourceLocation ParamNameLoc, unsigned Depth, unsigned Position, SourceLocation EqualLoc, ParsedType DefaultArg) argument [all...] |
H A D | SemaDeclCXX.cpp | 57 Expr *DefaultArg; member in class:__anon3881::CheckDefaultArgumentVisitor 62 : DefaultArg(defarg), S(s) {} 94 << Param->getDeclName() << DefaultArg->getSourceRange(); 102 << VDecl->getDeclName() << DefaultArg->getSourceRange(); 281 Expr *DefaultArg) { 282 if (!param || !DefaultArg) 291 << DefaultArg->getSourceRange(); 297 if (DiagnoseUnexpandedParameterPack(DefaultArg, UPPC_DefaultArgument)) { 303 CheckDefaultArgumentVisitor DefaultArgChecker(DefaultArg, this); 304 if (DefaultArgChecker.Visit(DefaultArg)) { 280 ActOnParamDefaultArgument(Decl *param, SourceLocation EqualLoc, Expr *DefaultArg) argument [all...] |
Completed in 185 milliseconds