Home
last modified time | relevance | path

Searched refs:DefaultArg (Results 1 – 15 of 15) sorted by relevance

/external/clang/test/Analysis/
Ddtor.cpp162 struct DefaultArg { struct
163 DefaultArg(int x = 0) {} in DefaultArg() function
164 ~DefaultArg();
167 struct InheritsDefaultArg : DefaultArg {
/external/clang/lib/Parse/
DParseTemplate.cpp543 ParsedType DefaultArg; in ParseTypeParameter() local
545 DefaultArg = ParseTypeName(/*Range=*/nullptr, in ParseTypeParameter()
550 EqualLoc, DefaultArg); in ParseTypeParameter()
646 ParsedTemplateArgument DefaultArg; in ParseTemplateTemplateParameter() local
648 DefaultArg = ParseTemplateTemplateArgument(); in ParseTemplateTemplateParameter()
649 if (DefaultArg.isInvalid()) { in ParseTemplateTemplateParameter()
660 Position, EqualLoc, DefaultArg); in ParseTemplateTemplateParameter()
694 ExprResult DefaultArg; in ParseNonTypeTemplateParameter() local
705 DefaultArg = Actions.CorrectDelayedTyposInExpr(ParseAssignmentExpression()); in ParseNonTypeTemplateParameter()
706 if (DefaultArg.isInvalid()) in ParseNonTypeTemplateParameter()
[all …]
/external/clang/test/SemaCXX/
Dtypo-correction-delayed.cpp108 const int DefaultArg = 9; // expected-note {{'DefaultArg' declared here}} variable
/external/syzkaller/vendor/github.com/ianlancetaylor/demangle/
Dast.go2551 type DefaultArg struct { struct
2556 func (da *DefaultArg) print(ps *printState) { argument
2561 func (da *DefaultArg) Traverse(fn func(AST) bool) { argument
2567 func (da *DefaultArg) Copy(fn func(AST) AST, skip func(AST) bool) AST { argument
2575 da = &DefaultArg{Num: da.Num, Arg: arg}
2582 func (da *DefaultArg) GoString() string { argument
2586 func (da *DefaultArg) goString(indent int, field string) string { argument
Ddemangle.go284 if da, ok := (*p).(*DefaultArg); ok {
327 if da, ok := (*p).(*DefaultArg); ok {
857 n = &DefaultArg{Num: num, Arg: n}
2489 case *UnnamedType, *FixedType, *DefaultArg:
/external/clang/lib/Sema/
DSemaTemplate.cpp569 ParsedType DefaultArg) { in ActOnTypeParameter() argument
595 if (DefaultArg && IsParameterPack) { in ActOnTypeParameter()
597 DefaultArg = nullptr; in ActOnTypeParameter()
601 if (DefaultArg) { in ActOnTypeParameter()
603 GetTypeFromParser(DefaultArg, &DefaultTInfo); in ActOnTypeParameter()
802 TemplateArgumentLoc DefaultArg = translateTemplateArgument(*this, Default); in ActOnTemplateTemplateParameter() local
803 if (DefaultArg.getArgument().getAsTemplate().isNull()) { in ActOnTemplateTemplateParameter()
804 Diag(DefaultArg.getLocation(), diag::err_template_arg_not_valid_template) in ActOnTemplateTemplateParameter()
805 << DefaultArg.getSourceRange(); in ActOnTemplateTemplateParameter()
810 if (DiagnoseUnexpandedParameterPack(DefaultArg.getLocation(), in ActOnTemplateTemplateParameter()
[all …]
DSemaDeclCXX.cpp59 Expr *DefaultArg; member in __anonb9d573a20111::CheckDefaultArgumentVisitor
64 : DefaultArg(defarg), S(s) {} in CheckDefaultArgumentVisitor()
97 << Param->getDeclName() << DefaultArg->getSourceRange(); in VisitDeclRefExpr()
105 << VDecl->getDeclName() << DefaultArg->getSourceRange(); in VisitDeclRefExpr()
298 Expr *DefaultArg) { in ActOnParamDefaultArgument() argument
299 if (!param || !DefaultArg) in ActOnParamDefaultArgument()
308 << DefaultArg->getSourceRange(); in ActOnParamDefaultArgument()
314 if (DiagnoseUnexpandedParameterPack(DefaultArg, UPPC_DefaultArgument)) { in ActOnParamDefaultArgument()
324 << DefaultArg->getSourceRange(); in ActOnParamDefaultArgument()
329 CheckDefaultArgumentVisitor DefaultArgChecker(DefaultArg, this); in ActOnParamDefaultArgument()
[all …]
DSemaLookup.cpp1457 auto &DefaultArg = D->getDefaultArgStorage(); in hasVisibleDefaultArgument() local
1458 if (!DefaultArg.isInherited() && S.isVisible(D)) in hasVisibleDefaultArgument()
1461 if (!DefaultArg.isInherited() && Modules) { in hasVisibleDefaultArgument()
1469 D = DefaultArg.getInheritedFrom(); in hasVisibleDefaultArgument()
DSemaExprCXX.cpp865 Expr *DefaultArg = in CheckCXXThrowOperand() local
867 Context.addDefaultArgExprForConstructor(CD, I, DefaultArg); in CheckCXXThrowOperand()
/external/tensorflow/tensorflow/python/framework/
Dfunction_test.py580 def DefaultArg(unused_a=12): function
583 _ = DefaultArg.definition
/external/clang/lib/CodeGen/
DMicrosoftCXXABI.cpp3870 Stmt *DefaultArg = getContext().getDefaultArgExprForConstructor(CD, I); in getAddrOfCXXCtorClosure() local
3871 assert(DefaultArg && "sema forgot to instantiate default args"); in getAddrOfCXXCtorClosure()
3872 ArgVec.push_back(DefaultArg); in getAddrOfCXXCtorClosure()
/external/clang/lib/AST/
DExpr.cpp3188 } else if (const CXXDefaultArgExpr *DefaultArg in isNullPointerConstant() local
3191 return DefaultArg->getExpr()->isNullPointerConstant(Ctx, NPC); in isNullPointerConstant()
/external/clang/include/clang/Sema/
DSema.h1758 bool SetParamDefaultArgument(ParmVarDecl *Param, Expr *DefaultArg,
5688 ParsedType DefaultArg);
5695 Expr *DefaultArg);
5705 ParsedTemplateArgument DefaultArg);
/external/clang/lib/Serialization/
DASTReaderDecl.cpp3764 auto DefaultArg = Reader.ReadExpr(F); in UpdateDecl() local
3769 Param->setDefaultArg(DefaultArg); in UpdateDecl()
/external/kotlinc/lib/
Dkotlin-compiler.jarMETA-INF/MANIFEST.MF org/jetbrains/kotlin/utils/JavaSdkUtil.class JavaSdkUtil ...