Searched refs:DefaultArg (Results 1 - 7 of 7) sorted by relevance

/freebsd-13-stable/contrib/llvm-project/clang/lib/Parse/
H A DParseTemplate.cpp654 /*DefaultArg=*/nullptr);
822 ParsedType DefaultArg;
824 DefaultArg = ParseTypeName(/*Range=*/nullptr,
832 DefaultArg,
937 ParsedTemplateArgument DefaultArg;
939 DefaultArg = ParseTemplateTemplateArgument();
940 if (DefaultArg.isInvalid()) {
951 Position, EqualLoc, DefaultArg);
986 ExprResult DefaultArg;
997 DefaultArg
[all...]
/freebsd-13-stable/contrib/llvm-project/clang/lib/Sema/
H A DSemaTemplate.cpp1036 ParsedType DefaultArg,
1064 if (DefaultArg && IsParameterPack) {
1066 DefaultArg = nullptr;
1070 if (DefaultArg) {
1072 GetTypeFromParser(DefaultArg, &DefaultTInfo);
1530 TemplateArgumentLoc DefaultArg = translateTemplateArgument(*this, Default); local
1531 if (DefaultArg.getArgument().getAsTemplate().isNull()) {
1532 Diag(DefaultArg.getLocation(), diag::err_template_arg_not_valid_template)
1533 << DefaultArg.getSourceRange();
1538 if (DiagnoseUnexpandedParameterPack(DefaultArg
1029 ActOnTypeParameter(Scope *S, bool Typename, SourceLocation EllipsisLoc, SourceLocation KeyLoc, IdentifierInfo *ParamName, SourceLocation ParamNameLoc, unsigned Depth, unsigned Position, SourceLocation EqualLoc, ParsedType DefaultArg, bool HasTypeConstraint) argument
[all...]
H A DSemaDeclCXX.cpp63 const Expr *DefaultArg; member in class:__anon2055::CheckDefaultArgumentVisitor
66 CheckDefaultArgumentVisitor(Sema &S, const Expr *DefaultArg) argument
67 : S(S), DefaultArg(DefaultArg) {}
101 << Param->getDeclName() << DefaultArg->getSourceRange();
117 << VDecl->getDeclName() << DefaultArg->getSourceRange();
309 Expr *DefaultArg) {
310 if (!param || !DefaultArg)
325 << DefaultArg->getSourceRange();
330 if (DiagnoseUnexpandedParameterPack(DefaultArg, UPPC_DefaultArgumen
308 ActOnParamDefaultArgument(Decl *param, SourceLocation EqualLoc, Expr *DefaultArg) argument
[all...]
H A DSemaLookup.cpp1530 auto &DefaultArg = D->getDefaultArgStorage(); local
1531 if (!DefaultArg.isInherited() && S.isVisible(D))
1534 if (!DefaultArg.isInherited() && Modules) {
1540 D = DefaultArg.getInheritedFrom();
/freebsd-13-stable/contrib/llvm-project/clang/include/clang/Sema/
H A DSema.h2440 Expr *DefaultArg,
2442 void SetParamDefaultArgument(ParmVarDecl *Param, Expr *DefaultArg,
7205 ParsedType DefaultArg, bool HasTypeConstraint);
7231 Expr *DefaultArg);
7241 ParsedTemplateArgument DefaultArg);
/freebsd-13-stable/contrib/llvm-project/clang/lib/Serialization/
H A DASTReaderDecl.cpp4475 auto *DefaultArg = Record.readExpr(); local
4480 Param->setDefaultArg(DefaultArg);
/freebsd-13-stable/contrib/llvm-project/clang/lib/AST/
H A DExpr.cpp3796 } else if (const CXXDefaultArgExpr *DefaultArg
3799 return DefaultArg->getExpr()->isNullPointerConstant(Ctx, NPC);

Completed in 173 milliseconds