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.cpp115 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 DDeclTemplate.h954 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;
H A DDecl.h1247 StorageClass S, StorageClass SCAsWritten, Expr *DefArg)
1252 setDefaultArg(DefArg);
1261 Expr *DefArg);
/external/clang/lib/Serialization/
H A DASTReaderDecl.cpp1458 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/AST/
H A DDecl.cpp1561 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/tools/libclang/
H A DCIndex.cpp684 if (TypeSourceInfo *DefArg = D->getDefaultArgumentInfo())
685 if (Visit(DefArg->getTypeLoc()))
825 if (Expr *DefArg = D->getDefaultArgument())
826 return Visit(MakeCXCursor(DefArg, StmtParent, TU, RegionOfInterest));
/external/clang/lib/Sema/
H A DSemaTemplateDeduction.cpp2619 TemplateArgumentLoc DefArg local
2627 if (DefArg.getArgument().isNull()) {
2634 if (CheckTemplateArgument(Param, DefArg,
H A DSemaOverload.cpp11035 ExprResult DefArg local
11037 if (DefArg.isInvalid()) {
11042 Arg = DefArg.takeAs<Expr>();
H A DSemaTemplate.cpp5266 if (Expr *DefArg = NTTP->getDefaultArgument()) {
5269 << DefArg->getSourceRange();

Completed in 400 milliseconds