Searched defs:DefArg (Results 1 - 7 of 7) sorted by relevance
/external/clang/test/CXX/dcl.decl/dcl.meaning/dcl.fct/dcl.fct.def.default/ |
H A D | p1.cpp | 6 struct DefArg { struct 7 static DefArg &&make(); 8 DefArg(int n = 5) = default; // expected-error {{an explicitly-defaulted constructor cannot have default arguments}} 9 DefArg(const DefArg &DA = make()) = default; // expected-error {{an explicitly-defaulted constructor cannot have default arguments}} 10 DefArg(const DefArg &DA, int k = 3) = default; // expected-error {{an explicitly-defaulted copy constructor cannot have default arguments}} 11 DefArg(DefArg &&DA = make()) = default; // expected-error {{an explicitly-defaulted constructor cannot have default arguments}} 12 DefArg(DefAr [all...] |
/external/clang/test/CXX/temp/temp.param/ |
H A D | p15-cxx0x.cpp | 115 template<typename ...Default> struct DefArg { struct in namespace:ParameterPackExpansions 124 DefArg<int, char>::Inner<vector, list> defarg(vi, lc);
|
/external/clang/include/clang/AST/ |
H A D | DeclTemplate.h | 954 void setDefaultArgument(TypeSourceInfo *DefArg, bool Inherited) { argument 955 DefaultArgument = DefArg; 1081 void setDefaultArgument(Expr *DefArg, bool Inherited) { argument 1082 DefaultArgumentAndInherited.setPointer(DefArg); 1307 void setDefaultArgument(const TemplateArgumentLoc &DefArg, bool Inherited) { 1308 DefaultArgument = DefArg;
|
/external/clang/lib/AST/ |
H A D | Decl.cpp | 1561 Expr *DefArg) { 1563 S, SCAsWritten, DefArg); 1556 Create(ASTContext &C, DeclContext *DC, SourceLocation StartLoc, SourceLocation IdLoc, IdentifierInfo *Id, QualType T, TypeSourceInfo *TInfo, StorageClass S, StorageClass SCAsWritten, Expr *DefArg) argument
|
/external/clang/lib/Serialization/ |
H A D | ASTReaderDecl.cpp | 1458 TypeSourceInfo *DefArg = GetTypeSourceInfo(Record, Idx); local 1459 D->setDefaultArgument(DefArg, Inherited); 1477 Expr *DefArg = Reader.ReadExpr(F); local 1479 D->setDefaultArgument(DefArg, Inherited);
|
/external/clang/lib/Sema/ |
H A D | SemaTemplateDeduction.cpp | 2619 TemplateArgumentLoc DefArg local 2627 if (DefArg.getArgument().isNull()) { 2634 if (CheckTemplateArgument(Param, DefArg,
|
H A D | SemaOverload.cpp | 11035 ExprResult DefArg local 11037 if (DefArg.isInvalid()) { 11042 Arg = DefArg.takeAs<Expr>();
|
Completed in 308 milliseconds