Searched refs:DefArg (Results 1 – 10 of 10) sorted by relevance
| /minix3/external/bsd/llvm/dist/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 d… 9 …DefArg(const DefArg &DA = make()) = default; // expected-error {{an explicitly-defaulted construct… 10 …DefArg(const DefArg &DA, int k = 3) = default; // expected-error {{an explicitly-defaulted copy co… 11 …DefArg(DefArg &&DA = make()) = default; // expected-error {{an explicitly-defaulted constructor ca… 12 …DefArg(DefArg &&DA, int k = 3) = default; // expected-error {{an explicitly-defaulted move constru… 13 …DefArg &operator=(const DefArg&, int k = 4) = default; // expected-error {{parameter of overloaded… 14 …DefArg &operator=(DefArg&&, int k = 4) = default; // expected-error {{parameter of overloaded 'ope… 15 ~DefArg(int k = 5) = default; // expected-error {{destructor cannot have any parameters}}
|
| /minix3/external/bsd/llvm/dist/clang/test/CXX/temp/temp.param/ |
| H A D | p15-cxx0x.cpp | 119 template<typename ...Default> struct DefArg { struct 128 DefArg<int, char>::Inner<vector, list> defarg(vi, lc);
|
| /minix3/external/bsd/llvm/dist/clang/include/clang/AST/ |
| H A D | DeclTemplate.h | 996 void setDefaultArgument(TypeSourceInfo *DefArg, bool Inherited) { 997 DefaultArgument = DefArg; 1122 void setDefaultArgument(Expr *DefArg, bool Inherited) { 1123 DefaultArgumentAndInherited.setPointer(DefArg); 1347 void setDefaultArgument(const TemplateArgumentLoc &DefArg, bool Inherited) { 1348 DefaultArgument = DefArg;
|
| H A D | Decl.h | 1261 TypeSourceInfo *TInfo, StorageClass S, Expr *DefArg) in ParmVarDecl() argument 1266 setDefaultArg(DefArg); in ParmVarDecl() 1274 StorageClass S, Expr *DefArg);
|
| /minix3/external/bsd/llvm/dist/clang/lib/Serialization/ |
| H A D | ASTReaderDecl.cpp | 1983 TypeSourceInfo *DefArg = GetTypeSourceInfo(Record, Idx); in VisitTemplateTypeParmDecl() local 1984 D->setDefaultArgument(DefArg, Inherited); in VisitTemplateTypeParmDecl() 2002 Expr *DefArg = Reader.ReadExpr(F); in VisitNonTypeTemplateParmDecl() local 2004 D->setDefaultArgument(DefArg, Inherited); in VisitNonTypeTemplateParmDecl()
|
| /minix3/external/bsd/llvm/dist/clang/lib/Sema/ |
| H A D | SemaTemplateDeduction.cpp | 2901 TemplateArgumentLoc DefArg in FinishTemplateArgumentDeduction() local 2909 if (DefArg.getArgument().isNull()) { in FinishTemplateArgumentDeduction() 2918 if (CheckTemplateArgument(Param, DefArg, in FinishTemplateArgumentDeduction()
|
| H A D | SemaOverload.cpp | 11997 ExprResult DefArg in BuildCallToObjectOfClassType() local 11999 if (DefArg.isInvalid()) { in BuildCallToObjectOfClassType() 12004 Arg = DefArg.getAs<Expr>(); in BuildCallToObjectOfClassType()
|
| H A D | SemaTemplate.cpp | 6102 if (Expr *DefArg = NTTP->getDefaultArgument()) { in ActOnClassTemplateSpecialization() local 6105 << DefArg->getSourceRange(); in ActOnClassTemplateSpecialization()
|
| /minix3/external/bsd/llvm/dist/clang/lib/AST/ |
| H A D | Decl.cpp | 2210 StorageClass S, Expr *DefArg) { in Create() argument 2212 S, DefArg); in Create()
|
| /minix3/external/bsd/llvm/dist/clang/tools/libclang/ |
| H A D | CIndex.cpp | 740 if (TypeSourceInfo *DefArg = D->getDefaultArgumentInfo()) in VisitTemplateTypeParmDecl() local 741 if (Visit(DefArg->getTypeLoc())) in VisitTemplateTypeParmDecl() 885 if (Expr *DefArg = D->getDefaultArgument()) in VisitNonTypeTemplateParmDecl() local 886 return Visit(MakeCXCursor(DefArg, StmtParent, TU, RegionOfInterest)); in VisitNonTypeTemplateParmDecl()
|