| /netbsd-src/external/apache2/llvm/dist/clang/include/clang/Sema/ |
| H A D | Template.h | 598 DeclaratorDecl *NewDecl); 600 TagDecl *NewDecl);
|
| H A D | Sema.h | 9333 Decl *NewDecl; member 9337 : TmplAttr(A), Scope(S), NewDecl(D) in LateInstantiatedAttribute()
|
| /netbsd-src/external/apache2/llvm/dist/clang/lib/Parse/ |
| H A D | ParseTemplate.cpp | 827 NamedDecl *NewDecl = Actions.ActOnTypeParameter(getCurScope(), in ParseTypeParameter() local 836 cast<TemplateTypeParmDecl>(NewDecl), in ParseTypeParameter() 840 return NewDecl; in ParseTypeParameter()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/IR/ |
| H A D | Function.cpp | 1647 auto NewDecl = Intrinsic::getDeclaration(F->getParent(), ID, ArgTys); in remangleIntrinsicFunction() local 1648 NewDecl->setCallingConv(F->getCallingConv()); in remangleIntrinsicFunction() 1649 assert(NewDecl->getFunctionType() == F->getFunctionType() && in remangleIntrinsicFunction() 1651 return NewDecl; in remangleIntrinsicFunction()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/ObjCARC/ |
| H A D | ObjCARCOpts.cpp | 655 Function *NewDecl = EP.get(ARCRuntimeEntryPointKind::Retain); in OptimizeRetainRVCall() local 656 cast<CallInst>(RetainRV)->setCalledFunction(NewDecl); in OptimizeRetainRVCall() 764 Function *NewDecl = EP.get(ARCRuntimeEntryPointKind::Autorelease); in OptimizeAutoreleaseRVCall() local 765 AutoreleaseRVCI->setCalledFunction(NewDecl); in OptimizeAutoreleaseRVCall()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Scalar/ |
| H A D | InferAddressSpaces.cpp | 347 Function *NewDecl = in rewriteIntrinsicOperands() local 350 II->setCalledFunction(NewDecl); in rewriteIntrinsicOperands()
|
| /netbsd-src/external/apache2/llvm/dist/clang/lib/Sema/ |
| H A D | SemaTemplateInstantiateDecl.cpp | 45 static bool SubstQualifier(Sema &SemaRef, const DeclT *OldDecl, DeclT *NewDecl, in SubstQualifier() argument 50 assert((NewDecl->getFriendObjectKind() || in SubstQualifier() 55 const_cast<DeclContext *>(NewDecl->getFriendObjectKind() in SubstQualifier() 56 ? NewDecl->getLexicalDeclContext() in SubstQualifier() 66 NewDecl->setQualifierInfo(NewQualifierLoc); in SubstQualifier() 71 DeclaratorDecl *NewDecl) { in SubstQualifier() argument 72 return ::SubstQualifier(SemaRef, OldDecl, NewDecl, TemplateArgs); in SubstQualifier() 76 TagDecl *NewDecl) { in SubstQualifier() argument 77 return ::SubstQualifier(SemaRef, OldDecl, NewDecl, TemplateArgs); in SubstQualifier()
|
| H A D | SemaDecl.cpp | 6484 NamedDecl *NewDecl, in checkDLLAttributeRedeclaration() argument 6487 if (OldDecl->isInvalidDecl() || NewDecl->isInvalidDecl()) in checkDLLAttributeRedeclaration() 6497 if (TemplateDecl *NewTD = dyn_cast<TemplateDecl>(NewDecl)) { in checkDLLAttributeRedeclaration() 6498 NewDecl = NewTD->getTemplatedDecl(); in checkDLLAttributeRedeclaration() 6502 if (!OldDecl || !NewDecl) in checkDLLAttributeRedeclaration() 6507 const DLLImportAttr *NewImportAttr = NewDecl->getAttr<DLLImportAttr>(); in checkDLLAttributeRedeclaration() 6508 const DLLExportAttr *NewExportAttr = NewDecl->getAttr<DLLExportAttr>(); in checkDLLAttributeRedeclaration() 6542 S.Diag(NewDecl->getLocation(), DiagID) in checkDLLAttributeRedeclaration() 6543 << NewDecl in checkDLLAttributeRedeclaration() 6547 NewDecl->setInvalidDecl(); in checkDLLAttributeRedeclaration() [all …]
|
| H A D | SemaTemplate.cpp | 8603 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 D | SemaTemplateInstantiate.cpp | 2792 NamedDecl *ND = dyn_cast<NamedDecl>(I->NewDecl); in InstantiateClass() 2801 I->NewDecl->addAttr(NewAttr); in InstantiateClass()
|
| H A D | SemaDeclCXX.cpp | 12693 TypeAliasTemplateDecl *NewDecl = in ActOnAliasDeclaration() local 12697 NewTD->setDescribedAliasTemplate(NewDecl); in ActOnAliasDeclaration() 12699 NewDecl->setAccess(AS); in ActOnAliasDeclaration() 12702 NewDecl->setInvalidDecl(); in ActOnAliasDeclaration() 12704 NewDecl->setPreviousDecl(OldDecl); in ActOnAliasDeclaration() 12705 CheckRedeclarationModuleOwnership(NewDecl, OldDecl); in ActOnAliasDeclaration() 12708 NewND = NewDecl; in ActOnAliasDeclaration()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPUTargetTransformInfo.cpp | 1082 Function *NewDecl = in rewriteIntrinsicWithAddressSpace() local 1085 II->setCalledFunction(NewDecl); in rewriteIntrinsicWithAddressSpace()
|
| /netbsd-src/external/apache2/llvm/dist/clang/lib/AST/ |
| H A D | ASTContext.cpp | 1225 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()
|