Home
last modified time | relevance | path

Searched refs:FromParam (Results 1 – 5 of 5) sorted by relevance

/external/llvm-project/clang/lib/AST/
DASTImporter.cpp466 Error ImportDefaultArgOfParmVarDecl(const ParmVarDecl *FromParam,
4044 const ParmVarDecl *FromParam, ParmVarDecl *ToParam) { in ImportDefaultArgOfParmVarDecl() argument
4045 ToParam->setHasInheritedDefaultArg(FromParam->hasInheritedDefaultArg()); in ImportDefaultArgOfParmVarDecl()
4046 ToParam->setKNRPromoted(FromParam->isKNRPromoted()); in ImportDefaultArgOfParmVarDecl()
4048 if (FromParam->hasUninstantiatedDefaultArg()) { in ImportDefaultArgOfParmVarDecl()
4049 if (auto ToDefArgOrErr = import(FromParam->getUninstantiatedDefaultArg())) in ImportDefaultArgOfParmVarDecl()
4053 } else if (FromParam->hasUnparsedDefaultArg()) { in ImportDefaultArgOfParmVarDecl()
4055 } else if (FromParam->hasDefaultArg()) { in ImportDefaultArgOfParmVarDecl()
4056 if (auto ToDefArgOrErr = import(FromParam->getDefaultArg())) in ImportDefaultArgOfParmVarDecl()
7162 Optional<ParmVarDecl *> FromParam = Importer.getImportedFromDecl(ToParam); in VisitCXXDefaultArgExpr() local
[all …]
/external/clang/lib/Serialization/
DASTReaderDecl.cpp3114 NamedDecl *FromParam = FromTP->getParam(N - I - 1); in inheritDefaultTemplateArguments() local
3115 if (FromParam->isParameterPack()) in inheritDefaultTemplateArguments()
3119 if (auto *FTTP = dyn_cast<TemplateTypeParmDecl>(FromParam)) { in inheritDefaultTemplateArguments()
3122 } else if (auto *FNTTP = dyn_cast<NonTypeTemplateParmDecl>(FromParam)) { in inheritDefaultTemplateArguments()
3127 Context, cast<TemplateTemplateParmDecl>(FromParam), ToParam)) in inheritDefaultTemplateArguments()
/external/llvm-project/clang/lib/Serialization/
DASTReaderDecl.cpp3667 NamedDecl *FromParam = FromTP->getParam(I); in inheritDefaultTemplateArguments() local
3670 if (auto *FTTP = dyn_cast<TemplateTypeParmDecl>(FromParam)) in inheritDefaultTemplateArguments()
3672 else if (auto *FNTTP = dyn_cast<NonTypeTemplateParmDecl>(FromParam)) in inheritDefaultTemplateArguments()
3676 Context, cast<TemplateTemplateParmDecl>(FromParam), ToParam); in inheritDefaultTemplateArguments()
/external/clang/lib/Sema/
DSemaDeclCXX.cpp10196 ParmVarDecl *FromParam = ParmVarDecl::Create(Context, CopyAssignment, in DeclareImplicitCopyAssignment() local
10201 CopyAssignment->setParams(FromParam); in DeclareImplicitCopyAssignment()
10588 ParmVarDecl *FromParam = ParmVarDecl::Create(Context, MoveAssignment, in DeclareImplicitMoveAssignment() local
10593 MoveAssignment->setParams(FromParam); in DeclareImplicitMoveAssignment()
11025 ParmVarDecl *FromParam = ParmVarDecl::Create(Context, CopyConstructor, in DeclareImplicitCopyConstructor() local
11030 CopyConstructor->setParams(FromParam); in DeclareImplicitCopyConstructor()
11205 ParmVarDecl *FromParam = ParmVarDecl::Create(Context, MoveConstructor, in DeclareImplicitMoveConstructor() local
11210 MoveConstructor->setParams(FromParam); in DeclareImplicitMoveConstructor()
/external/llvm-project/clang/lib/Sema/
DSemaDeclCXX.cpp13921 ParmVarDecl *FromParam = ParmVarDecl::Create(Context, CopyAssignment, in DeclareImplicitCopyAssignment() local
13926 CopyAssignment->setParams(FromParam); in DeclareImplicitCopyAssignment()
14250 ParmVarDecl *FromParam = ParmVarDecl::Create(Context, MoveAssignment, in DeclareImplicitMoveAssignment() local
14255 MoveAssignment->setParams(FromParam); in DeclareImplicitMoveAssignment()
14630 ParmVarDecl *FromParam = ParmVarDecl::Create(Context, CopyConstructor, in DeclareImplicitCopyConstructor() local
14635 CopyConstructor->setParams(FromParam); in DeclareImplicitCopyConstructor()
14764 ParmVarDecl *FromParam = ParmVarDecl::Create(Context, MoveConstructor, in DeclareImplicitMoveConstructor() local
14769 MoveConstructor->setParams(FromParam); in DeclareImplicitMoveConstructor()