Searched defs:DefaultArg (Results 1 - 4 of 4) sorted by relevance

/external/clang/test/Analysis/
H A Ddtor.cpp162 struct DefaultArg { struct
163 DefaultArg(int x = 0) {} function in struct:DefaultArg
164 ~DefaultArg();
167 struct InheritsDefaultArg : DefaultArg {
/external/clang/lib/Parse/
H A DParseTemplate.cpp518 ParsedType DefaultArg; local
521 DefaultArg = ParseTypeName(/*Range=*/0,
527 Depth, Position, EqualLoc, DefaultArg);
612 ParsedTemplateArgument DefaultArg; local
615 DefaultArg = ParseTemplateTemplateArgument();
616 if (DefaultArg.isInvalid()) {
626 Position, EqualLoc, DefaultArg);
655 ExprResult DefaultArg; local
667 DefaultArg = ParseAssignmentExpression();
668 if (DefaultArg
[all...]
/external/clang/lib/Sema/
H A DSemaTemplate.cpp551 ParsedType DefaultArg) {
587 if (DefaultArg && Ellipsis) {
589 DefaultArg = ParsedType();
593 if (DefaultArg) {
595 GetTypeFromParser(DefaultArg, &DefaultTInfo);
802 TemplateArgumentLoc DefaultArg = translateTemplateArgument(*this, Default); local
803 if (DefaultArg.getArgument().getAsTemplate().isNull()) {
804 Diag(DefaultArg.getLocation(), diag::err_template_arg_not_class_template)
805 << DefaultArg.getSourceRange();
810 if (DiagnoseUnexpandedParameterPack(DefaultArg
544 ActOnTypeParameter(Scope *S, bool Typename, bool Ellipsis, SourceLocation EllipsisLoc, SourceLocation KeyLoc, IdentifierInfo *ParamName, SourceLocation ParamNameLoc, unsigned Depth, unsigned Position, SourceLocation EqualLoc, ParsedType DefaultArg) argument
[all...]
H A DSemaDeclCXX.cpp56 Expr *DefaultArg; member in class:__anon3738::CheckDefaultArgumentVisitor
61 : DefaultArg(defarg), S(s) {}
93 << Param->getDeclName() << DefaultArg->getSourceRange();
101 << VDecl->getDeclName() << DefaultArg->getSourceRange();
280 Expr *DefaultArg) {
281 if (!param || !DefaultArg)
290 << DefaultArg->getSourceRange();
296 if (DiagnoseUnexpandedParameterPack(DefaultArg, UPPC_DefaultArgument)) {
302 CheckDefaultArgumentVisitor DefaultArgChecker(DefaultArg, this);
303 if (DefaultArgChecker.Visit(DefaultArg)) {
279 ActOnParamDefaultArgument(Decl *param, SourceLocation EqualLoc, Expr *DefaultArg) argument
[all...]

Completed in 141 milliseconds