Home
last modified time | relevance | path

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

/openbsd/gnu/llvm/clang/include/clang/Sema/
H A DTemplate.h673 DeclaratorDecl *NewDecl);
675 TagDecl *NewDecl);
H A DSema.h8531 void CheckConceptRedefinition(ConceptDecl *NewDecl, LookupResult &Previous,
10057 Decl *NewDecl; member
10061 : TmplAttr(A), Scope(S), NewDecl(D) in LateInstantiatedAttribute()
/openbsd/gnu/llvm/llvm/lib/Target/AMDGPU/
H A DAMDGPUTargetTransformInfo.cpp1048 Function *NewDecl = in rewriteIntrinsicWithAddressSpace() local
1051 II->setCalledFunction(NewDecl); in rewriteIntrinsicWithAddressSpace()
1105 Function *NewDecl = Intrinsic::getDeclaration(M, II->getIntrinsicID(), in rewriteIntrinsicWithAddressSpace() local
1108 II->setCalledFunction(NewDecl); in rewriteIntrinsicWithAddressSpace()
/openbsd/gnu/llvm/clang/lib/Sema/
H A DSemaTemplate.cpp8907 ActOnDocumentableDecl(NewDecl); in ActOnTemplateDeclarator()
8908 return NewDecl; in ActOnTemplateDeclarator()
8953 ConceptDecl *NewDecl = in ActOnConceptDefinition() local
8956 if (NewDecl->hasAssociatedConstraints()) { in ActOnConceptDefinition()
8960 NewDecl->setInvalidDecl(); in ActOnConceptDefinition()
8973 ActOnDocumentableDecl(NewDecl); in ActOnConceptDefinition()
8975 PushOnScopeChains(NewDecl, S); in ActOnConceptDefinition()
8976 return NewDecl; in ActOnConceptDefinition()
8990 << NewDecl->getDeclName(); in CheckConceptRedefinition()
8999 << NewDecl->getDeclName(); in CheckConceptRedefinition()
[all …]
H A DSemaTemplateInstantiateDecl.cpp53 assert((NewDecl->getFriendObjectKind() || in SubstQualifier()
58 const_cast<DeclContext *>(NewDecl->getFriendObjectKind() in SubstQualifier()
59 ? NewDecl->getLexicalDeclContext() in SubstQualifier()
69 NewDecl->setQualifierInfo(NewQualifierLoc); in SubstQualifier()
74 DeclaratorDecl *NewDecl) { in SubstQualifier() argument
75 return ::SubstQualifier(SemaRef, OldDecl, NewDecl, TemplateArgs); in SubstQualifier()
79 TagDecl *NewDecl) { in SubstQualifier() argument
80 return ::SubstQualifier(SemaRef, OldDecl, NewDecl, TemplateArgs); in SubstQualifier()
5001 CXXRecordDecl *NewDecl; in InstantiateFunctionDefinition() member
5005 : TreeTransform(SemaRef), OldDecl(O), NewDecl(N) {} in InstantiateFunctionDefinition()
[all …]
H A DSemaDecl.cpp7022 if (!OldDecl || !NewDecl) in checkDLLAttributeRedeclaration()
7063 << NewDecl in checkDLLAttributeRedeclaration()
7067 NewDecl->setInvalidDecl(); in checkDLLAttributeRedeclaration()
7097 NewDecl->getLocation(), in checkDLLAttributeRedeclaration()
7102 S.Diag(NewDecl->getLocation(), in checkDLLAttributeRedeclaration()
7104 << NewDecl; in checkDLLAttributeRedeclaration()
7114 S.Diag(NewDecl->getLocation(), in checkDLLAttributeRedeclaration()
7116 << NewDecl << OldImportAttr; in checkDLLAttributeRedeclaration()
7127 S.Diag(NewDecl->getLocation(), in checkDLLAttributeRedeclaration()
7129 << NewDecl << OldImportAttr; in checkDLLAttributeRedeclaration()
[all …]
H A DSemaTemplateInstantiate.cpp3224 auto *ND = cast<NamedDecl>(I->NewDecl); in InstantiateClass()
3232 I->NewDecl->addAttr(NewAttr); in InstantiateClass()
H A DSemaDeclCXX.cpp13184 TypeAliasTemplateDecl *NewDecl = in ActOnAliasDeclaration() local
13188 NewTD->setDescribedAliasTemplate(NewDecl); in ActOnAliasDeclaration()
13190 NewDecl->setAccess(AS); in ActOnAliasDeclaration()
13193 NewDecl->setInvalidDecl(); in ActOnAliasDeclaration()
13195 NewDecl->setPreviousDecl(OldDecl); in ActOnAliasDeclaration()
13196 CheckRedeclarationInModule(NewDecl, OldDecl); in ActOnAliasDeclaration()
13199 NewND = NewDecl; in ActOnAliasDeclaration()
/openbsd/gnu/llvm/clang/lib/Parse/
H A DParseTemplate.cpp857 NamedDecl *NewDecl = Actions.ActOnTypeParameter(getCurScope(), in ParseTypeParameter() local
866 cast<TemplateTypeParmDecl>(NewDecl), in ParseTypeParameter()
870 return NewDecl; in ParseTypeParameter()
/openbsd/gnu/llvm/llvm/lib/Transforms/ObjCARC/
H A DObjCARCOpts.cpp643 Function *NewDecl = EP.get(ARCRuntimeEntryPointKind::Retain); in OptimizeRetainRVCall() local
644 cast<CallInst>(RetainRV)->setCalledFunction(NewDecl); in OptimizeRetainRVCall()
750 Function *NewDecl = EP.get(ARCRuntimeEntryPointKind::Autorelease); in OptimizeAutoreleaseRVCall() local
751 AutoreleaseRVCI->setCalledFunction(NewDecl); in OptimizeAutoreleaseRVCall()
/openbsd/gnu/llvm/llvm/lib/IR/
H A DFunction.cpp1879 Function *NewDecl = [&] { in remangleIntrinsicFunction() local
1894 NewDecl->setCallingConv(F->getCallingConv()); in remangleIntrinsicFunction()
1895 assert(NewDecl->getFunctionType() == F->getFunctionType() && in remangleIntrinsicFunction()
1897 return NewDecl; in remangleIntrinsicFunction()
/openbsd/gnu/llvm/llvm/lib/Transforms/Scalar/
H A DInferAddressSpaces.cpp367 Function *NewDecl = in rewriteIntrinsicOperands() local
370 II->setCalledFunction(NewDecl); in rewriteIntrinsicOperands()
/openbsd/gnu/llvm/clang/lib/AST/
H A DASTContext.cpp1212 RecordDecl *NewDecl; in buildImplicitRecord() local
1214 NewDecl = CXXRecordDecl::Create(*this, TK, getTranslationUnitDecl(), Loc, in buildImplicitRecord()
1217 NewDecl = RecordDecl::Create(*this, TK, getTranslationUnitDecl(), Loc, Loc, in buildImplicitRecord()
1219 NewDecl->setImplicit(); in buildImplicitRecord()
1220 NewDecl->addAttr(TypeVisibilityAttr::CreateImplicit( in buildImplicitRecord()
1222 return NewDecl; in buildImplicitRecord()
1228 TypedefDecl *NewDecl = TypedefDecl::Create( in buildImplicitTypedef() local
1231 NewDecl->setImplicit(); in buildImplicitTypedef()
1232 return NewDecl; in buildImplicitTypedef()