Home
last modified time | relevance | path

Searched refs:DefArg (Results 1 – 10 of 10) sorted by relevance

/external/clang/test/CXX/dcl.decl/dcl.meaning/dcl.fct/dcl.fct.def.default/
Dp1.cpp6 struct DefArg { struct
7 static DefArg &&make();
8DefArg(int n = 5) = default; // expected-error {{an explicitly-defaulted constructor cannot have d…
9DefArg(const DefArg &DA = make()) = default; // expected-error {{an explicitly-defaulted construct…
10DefArg(const DefArg &DA, int k = 3) = default; // expected-error {{an explicitly-defaulted copy co…
11DefArg(DefArg &&DA = make()) = default; // expected-error {{an explicitly-defaulted constructor ca…
12DefArg(DefArg &&DA, int k = 3) = default; // expected-error {{an explicitly-defaulted move constru…
13DefArg &operator=(const DefArg&, int k = 4) = default; // expected-error {{parameter of overloaded…
14DefArg &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}}
/external/clang/test/CXX/temp/temp.param/
Dp15-cxx0x.cpp119 template<typename ...Default> struct DefArg { struct
128 DefArg<int, char>::Inner<vector, list> defarg(vi, lc);
/external/clang/include/clang/AST/
DDeclTemplate.h996 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;
DDecl.h1241 TypeSourceInfo *TInfo, StorageClass S, Expr *DefArg) in ParmVarDecl() argument
1246 setDefaultArg(DefArg); in ParmVarDecl()
1254 StorageClass S, Expr *DefArg);
/external/clang/lib/Serialization/
DASTReaderDecl.cpp1910 TypeSourceInfo *DefArg = GetTypeSourceInfo(Record, Idx); in VisitTemplateTypeParmDecl() local
1911 D->setDefaultArgument(DefArg, Inherited); in VisitTemplateTypeParmDecl()
1929 Expr *DefArg = Reader.ReadExpr(F); in VisitNonTypeTemplateParmDecl() local
1931 D->setDefaultArgument(DefArg, Inherited); in VisitNonTypeTemplateParmDecl()
/external/clang/lib/Sema/
DSemaTemplateDeduction.cpp2900 TemplateArgumentLoc DefArg in FinishTemplateArgumentDeduction() local
2908 if (DefArg.getArgument().isNull()) { in FinishTemplateArgumentDeduction()
2917 if (CheckTemplateArgument(Param, DefArg, in FinishTemplateArgumentDeduction()
DSemaOverload.cpp11807 ExprResult DefArg in BuildCallToObjectOfClassType() local
11809 if (DefArg.isInvalid()) { in BuildCallToObjectOfClassType()
11814 Arg = DefArg.getAs<Expr>(); in BuildCallToObjectOfClassType()
DSemaTemplate.cpp6000 if (Expr *DefArg = NTTP->getDefaultArgument()) { in ActOnClassTemplateSpecialization() local
6003 << DefArg->getSourceRange(); in ActOnClassTemplateSpecialization()
/external/clang/lib/AST/
DDecl.cpp2186 StorageClass S, Expr *DefArg) { in Create() argument
2188 S, DefArg); in Create()
/external/clang/tools/libclang/
DCIndex.cpp736 if (TypeSourceInfo *DefArg = D->getDefaultArgumentInfo()) in VisitTemplateTypeParmDecl() local
737 if (Visit(DefArg->getTypeLoc())) in VisitTemplateTypeParmDecl()
881 if (Expr *DefArg = D->getDefaultArgument()) in VisitNonTypeTemplateParmDecl() local
882 return Visit(MakeCXCursor(DefArg, StmtParent, TU, RegionOfInterest)); in VisitNonTypeTemplateParmDecl()