Home
last modified time | relevance | path

Searched refs:NewDecl (Results 1 – 13 of 13) sorted by relevance

/freebsd-13.1/contrib/llvm-project/clang/include/clang/Sema/
H A DTemplate.h600 DeclaratorDecl *NewDecl);
602 TagDecl *NewDecl);
H A DSema.h9402 Decl *NewDecl; member
9406 : TmplAttr(A), Scope(S), NewDecl(D) in LateInstantiatedAttribute()
/freebsd-13.1/contrib/llvm-project/clang/lib/Parse/
H A DParseTemplate.cpp827 NamedDecl *NewDecl = Actions.ActOnTypeParameter(getCurScope(), in ParseTypeParameter() local
836 cast<TemplateTypeParmDecl>(NewDecl), in ParseTypeParameter()
840 return NewDecl; in ParseTypeParameter()
/freebsd-13.1/contrib/llvm-project/clang/lib/Sema/
H A DSemaTemplateInstantiateDecl.cpp52 assert((NewDecl->getFriendObjectKind() || in SubstQualifier()
57 const_cast<DeclContext *>(NewDecl->getFriendObjectKind() in SubstQualifier()
58 ? NewDecl->getLexicalDeclContext() in SubstQualifier()
68 NewDecl->setQualifierInfo(NewQualifierLoc); in SubstQualifier()
73 DeclaratorDecl *NewDecl) { in SubstQualifier() argument
74 return ::SubstQualifier(SemaRef, OldDecl, NewDecl, TemplateArgs); in SubstQualifier()
78 TagDecl *NewDecl) { in SubstQualifier() argument
79 return ::SubstQualifier(SemaRef, OldDecl, NewDecl, TemplateArgs); in SubstQualifier()
4973 CXXRecordDecl *NewDecl; in InstantiateFunctionDefinition() member
4977 : TreeTransform(SemaRef), OldDecl(O), NewDecl(N) {} in InstantiateFunctionDefinition()
[all …]
H A DSemaDecl.cpp6569 if (!OldDecl || !NewDecl) in checkDLLAttributeRedeclaration()
6610 << NewDecl in checkDLLAttributeRedeclaration()
6614 NewDecl->setInvalidDecl(); in checkDLLAttributeRedeclaration()
6642 S.Diag(NewDecl->getLocation(), in checkDLLAttributeRedeclaration()
6644 << NewDecl; in checkDLLAttributeRedeclaration()
6647 NewDecl->addAttr( in checkDLLAttributeRedeclaration()
6650 S.Diag(NewDecl->getLocation(), in checkDLLAttributeRedeclaration()
6652 << NewDecl << OldImportAttr; in checkDLLAttributeRedeclaration()
6663 S.Diag(NewDecl->getLocation(), in checkDLLAttributeRedeclaration()
6665 << NewDecl << OldImportAttr; in checkDLLAttributeRedeclaration()
[all …]
H A DSemaTemplate.cpp8603 Decl *NewDecl = HandleDeclarator(S, D, TemplateParameterLists); in ActOnTemplateDeclarator() local
8604 ActOnDocumentableDecl(NewDecl); in ActOnTemplateDeclarator()
8605 return NewDecl; in ActOnTemplateDeclarator()
8633 ConceptDecl *NewDecl = ConceptDecl::Create(Context, DC, NameLoc, Name, in ActOnConceptDefinition() local
8637 if (NewDecl->hasAssociatedConstraints()) { in ActOnConceptDefinition()
8641 NewDecl->setInvalidDecl(); in ActOnConceptDefinition()
8645 DeclarationNameInfo NameInfo(NewDecl->getDeclName(), NameLoc); in ActOnConceptDefinition()
8655 diag::err_redefinition_different_kind) << NewDecl->getDeclName(); in ActOnConceptDefinition()
8659 ActOnDocumentableDecl(NewDecl); in ActOnConceptDefinition()
8660 PushOnScopeChains(NewDecl, S); in ActOnConceptDefinition()
[all …]
H A DSemaTemplateInstantiate.cpp2791 NamedDecl *ND = dyn_cast<NamedDecl>(I->NewDecl); in InstantiateClass()
2800 I->NewDecl->addAttr(NewAttr); in InstantiateClass()
H A DSemaDeclCXX.cpp12875 TypeAliasTemplateDecl *NewDecl = in ActOnAliasDeclaration() local
12879 NewTD->setDescribedAliasTemplate(NewDecl); in ActOnAliasDeclaration()
12881 NewDecl->setAccess(AS); in ActOnAliasDeclaration()
12884 NewDecl->setInvalidDecl(); in ActOnAliasDeclaration()
12886 NewDecl->setPreviousDecl(OldDecl); in ActOnAliasDeclaration()
12887 CheckRedeclarationModuleOwnership(NewDecl, OldDecl); in ActOnAliasDeclaration()
12890 NewND = NewDecl; in ActOnAliasDeclaration()
/freebsd-13.1/contrib/llvm-project/llvm/lib/IR/
H A DFunction.cpp1678 Function *NewDecl = [&] { in remangleIntrinsicFunction() local
1693 NewDecl->setCallingConv(F->getCallingConv()); in remangleIntrinsicFunction()
1694 assert(NewDecl->getFunctionType() == F->getFunctionType() && in remangleIntrinsicFunction()
1696 return NewDecl; in remangleIntrinsicFunction()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/ObjCARC/
H A DObjCARCOpts.cpp658 Function *NewDecl = EP.get(ARCRuntimeEntryPointKind::Retain); in OptimizeRetainRVCall() local
659 cast<CallInst>(RetainRV)->setCalledFunction(NewDecl); in OptimizeRetainRVCall()
767 Function *NewDecl = EP.get(ARCRuntimeEntryPointKind::Autorelease); in OptimizeAutoreleaseRVCall() local
768 AutoreleaseRVCI->setCalledFunction(NewDecl); in OptimizeAutoreleaseRVCall()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DInferAddressSpaces.cpp347 Function *NewDecl = in rewriteIntrinsicOperands() local
350 II->setCalledFunction(NewDecl); in rewriteIntrinsicOperands()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUTargetTransformInfo.cpp1077 Function *NewDecl = in rewriteIntrinsicWithAddressSpace() local
1080 II->setCalledFunction(NewDecl); in rewriteIntrinsicWithAddressSpace()
/freebsd-13.1/contrib/llvm-project/clang/lib/AST/
H A DASTContext.cpp1225 RecordDecl *NewDecl; in buildImplicitRecord() local
1227 NewDecl = CXXRecordDecl::Create(*this, TK, getTranslationUnitDecl(), Loc, in buildImplicitRecord()
1230 NewDecl = RecordDecl::Create(*this, TK, getTranslationUnitDecl(), Loc, Loc, in buildImplicitRecord()
1232 NewDecl->setImplicit(); in buildImplicitRecord()
1233 NewDecl->addAttr(TypeVisibilityAttr::CreateImplicit( in buildImplicitRecord()
1235 return NewDecl; in buildImplicitRecord()
1241 TypedefDecl *NewDecl = TypedefDecl::Create( in buildImplicitTypedef() local
1244 NewDecl->setImplicit(); in buildImplicitTypedef()
1245 return NewDecl; in buildImplicitTypedef()