Searched defs:DefaultArg (Results 1 - 7 of 7) sorted by relevance
/external/clang/test/SemaCXX/ |
H A D | typo-correction-delayed.cpp | 106 const int DefaultArg = 9; // expected-note {{'DefaultArg' declared here}} variable 107 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 | 526 ParsedType DefaultArg; local 528 DefaultArg = ParseTypeName(/*Range=*/nullptr, 533 EqualLoc, DefaultArg); 631 ParsedTemplateArgument DefaultArg; local 633 DefaultArg = ParseTemplateTemplateArgument(); 634 if (DefaultArg.isInvalid()) { 645 Position, EqualLoc, DefaultArg); 679 ExprResult DefaultArg; local 689 DefaultArg = Actions.CorrectDelayedTyposInExpr(ParseAssignmentExpression()); 690 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/CodeGen/ |
H A D | MicrosoftCXXABI.cpp | 3411 Stmt *DefaultArg = getContext().getDefaultArgExprForConstructor(CD, I); local 3412 assert(DefaultArg && "sema forgot to instantiate default args"); 3413 ArgVec.push_back(DefaultArg);
|
/external/clang/lib/Sema/ |
H A D | SemaExprCXX.cpp | 825 Expr *DefaultArg = local 827 Context.addDefaultArgExprForConstructor(CD, I, DefaultArg);
|
H A D | SemaTemplate.cpp | 554 ParsedType DefaultArg) { 583 if (DefaultArg && IsParameterPack) { 585 DefaultArg = ParsedType(); 589 if (DefaultArg) { 591 GetTypeFromParser(DefaultArg, &DefaultTInfo); 790 TemplateArgumentLoc DefaultArg = translateTemplateArgument(*this, Default); local 791 if (DefaultArg.getArgument().getAsTemplate().isNull()) { 792 Diag(DefaultArg.getLocation(), diag::err_template_arg_not_class_template) 793 << DefaultArg.getSourceRange(); 798 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 | 59 Expr *DefaultArg; member in class:__anon1162::CheckDefaultArgumentVisitor 64 : DefaultArg(defarg), S(s) {} 97 << Param->getDeclName() << DefaultArg->getSourceRange(); 105 << VDecl->getDeclName() << DefaultArg->getSourceRange(); 300 Expr *DefaultArg) { 301 if (!param || !DefaultArg) 310 << DefaultArg->getSourceRange(); 316 if (DiagnoseUnexpandedParameterPack(DefaultArg, UPPC_DefaultArgument)) { 326 << DefaultArg->getSourceRange(); 331 CheckDefaultArgumentVisitor DefaultArgChecker(DefaultArg, thi 299 ActOnParamDefaultArgument(Decl *param, SourceLocation EqualLoc, Expr *DefaultArg) argument 9459 Expr *DefaultArg = S.BuildCXXDefaultArgExpr(Class->getLocation(), CD, local [all...] |
Completed in 277 milliseconds