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/
H A Dp1.cpp6 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 Dp15-cxx0x.cpp119 template<typename ...Default> struct DefArg { struct in namespace:ParameterPackExpansions
128 DefArg<int, char>::Inner<vector, list> defarg(vi, lc);
/external/clang/include/clang/AST/
H A DDeclTemplate.h996 void setDefaultArgument(TypeSourceInfo *DefArg, bool Inherited) { argument
997 DefaultArgument = DefArg;
1122 void setDefaultArgument(Expr *DefArg, bool Inherited) { argument
1123 DefaultArgumentAndInherited.setPointer(DefArg);
1347 void setDefaultArgument(const TemplateArgumentLoc &DefArg, bool Inherited) {
1348 DefaultArgument = DefArg;
H A DDecl.h1241 TypeSourceInfo *TInfo, StorageClass S, Expr *DefArg)
1246 setDefaultArg(DefArg);
1254 StorageClass S, Expr *DefArg);
/external/clang/lib/Serialization/
H A DASTReaderDecl.cpp1910 TypeSourceInfo *DefArg = GetTypeSourceInfo(Record, Idx); local
1911 D->setDefaultArgument(DefArg, Inherited);
1929 Expr *DefArg = Reader.ReadExpr(F); local
1931 D->setDefaultArgument(DefArg, Inherited);
/external/clang/lib/Sema/
H A DSemaTemplateDeduction.cpp2900 TemplateArgumentLoc DefArg local
2908 if (DefArg.getArgument().isNull()) {
2917 if (CheckTemplateArgument(Param, DefArg,
H A DSemaOverload.cpp11807 ExprResult DefArg local
11809 if (DefArg.isInvalid()) {
11814 Arg = DefArg.getAs<Expr>();
H A DSemaTemplate.cpp6000 if (Expr *DefArg = NTTP->getDefaultArgument()) {
6003 << DefArg->getSourceRange();
/external/clang/tools/libclang/
H A DCIndex.cpp736 if (TypeSourceInfo *DefArg = D->getDefaultArgumentInfo())
737 if (Visit(DefArg->getTypeLoc()))
881 if (Expr *DefArg = D->getDefaultArgument())
882 return Visit(MakeCXCursor(DefArg, StmtParent, TU, RegionOfInterest));
/external/clang/lib/AST/
H A DDecl.cpp2186 StorageClass S, Expr *DefArg) {
2188 S, DefArg);
2182 Create(ASTContext &C, DeclContext *DC, SourceLocation StartLoc, SourceLocation IdLoc, IdentifierInfo *Id, QualType T, TypeSourceInfo *TInfo, StorageClass S, Expr *DefArg) argument

Completed in 292 milliseconds