| /freebsd-12.1/contrib/llvm/tools/clang/include/clang/Sema/ |
| H A D | Template.h | 541 DeclaratorDecl *NewDecl); 543 TagDecl *NewDecl);
|
| H A D | Sema.h | 7846 Decl *NewDecl; member 7850 : TmplAttr(A), Scope(S), NewDecl(D) in LateInstantiatedAttribute()
|
| /freebsd-12.1/contrib/llvm/lib/IR/ |
| H A D | Function.cpp | 1246 auto NewDecl = Intrinsic::getDeclaration(F->getParent(), ID, ArgTys); in remangleIntrinsicFunction() local 1247 NewDecl->setCallingConv(F->getCallingConv()); in remangleIntrinsicFunction() 1248 assert(NewDecl->getFunctionType() == FTy && "Shouldn't change the signature"); in remangleIntrinsicFunction() 1249 return NewDecl; in remangleIntrinsicFunction()
|
| /freebsd-12.1/contrib/llvm/lib/Transforms/ObjCARC/ |
| H A D | ObjCARCOpts.cpp | 645 Constant *NewDecl = EP.get(ARCRuntimeEntryPointKind::Retain); in OptimizeRetainRVCall() local 646 cast<CallInst>(RetainRV)->setCalledFunction(NewDecl); in OptimizeRetainRVCall() 694 Constant *NewDecl = EP.get(ARCRuntimeEntryPointKind::Autorelease); in OptimizeAutoreleaseRVCall() local 695 AutoreleaseRVCI->setCalledFunction(NewDecl); in OptimizeAutoreleaseRVCall()
|
| /freebsd-12.1/contrib/llvm/lib/Transforms/Scalar/ |
| H A D | InferAddressSpaces.cpp | 276 Function *NewDecl = in rewriteIntrinsicOperands() local 279 II->setCalledFunction(NewDecl); in rewriteIntrinsicOperands()
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/Sema/ |
| H A D | SemaTemplateInstantiateDecl.cpp | 42 static bool SubstQualifier(Sema &SemaRef, const DeclT *OldDecl, DeclT *NewDecl, in SubstQualifier() argument 47 assert((NewDecl->getFriendObjectKind() || in SubstQualifier() 52 const_cast<DeclContext *>(NewDecl->getFriendObjectKind() in SubstQualifier() 53 ? NewDecl->getLexicalDeclContext() in SubstQualifier() 63 NewDecl->setQualifierInfo(NewQualifierLoc); in SubstQualifier() 68 DeclaratorDecl *NewDecl) { in SubstQualifier() argument 69 return ::SubstQualifier(SemaRef, OldDecl, NewDecl, TemplateArgs); in SubstQualifier() 73 TagDecl *NewDecl) { in SubstQualifier() argument 74 return ::SubstQualifier(SemaRef, OldDecl, NewDecl, TemplateArgs); in SubstQualifier()
|
| H A D | SemaDecl.cpp | 6023 if (!OldDecl || !NewDecl) in checkDLLAttributeRedeclaration() 6064 << NewDecl in checkDLLAttributeRedeclaration() 6068 NewDecl->setInvalidDecl(); in checkDLLAttributeRedeclaration() 6096 S.Diag(NewDecl->getLocation(), in checkDLLAttributeRedeclaration() 6098 << NewDecl; in checkDLLAttributeRedeclaration() 6105 S.Diag(NewDecl->getLocation(), in checkDLLAttributeRedeclaration() 6107 << NewDecl << OldImportAttr; in checkDLLAttributeRedeclaration() 6117 NewDecl->dropAttr<DLLImportAttr>(); in checkDLLAttributeRedeclaration() 6118 S.Diag(NewDecl->getLocation(), in checkDLLAttributeRedeclaration() 6120 << NewDecl << OldImportAttr; in checkDLLAttributeRedeclaration() [all …]
|
| H A D | SemaTemplateInstantiate.cpp | 2148 NamedDecl *ND = dyn_cast<NamedDecl>(I->NewDecl); in InstantiateClass() 2156 I->NewDecl->addAttr(NewAttr); in InstantiateClass()
|
| H A D | SemaDeclCXX.cpp | 10609 TypeAliasTemplateDecl *NewDecl = in ActOnAliasDeclaration() local 10613 NewTD->setDescribedAliasTemplate(NewDecl); in ActOnAliasDeclaration() 10615 NewDecl->setAccess(AS); in ActOnAliasDeclaration() 10618 NewDecl->setInvalidDecl(); in ActOnAliasDeclaration() 10620 NewDecl->setPreviousDecl(OldDecl); in ActOnAliasDeclaration() 10621 CheckRedeclarationModuleOwnership(NewDecl, OldDecl); in ActOnAliasDeclaration() 10624 NewND = NewDecl; in ActOnAliasDeclaration()
|
| H A D | SemaTemplate.cpp | 7814 Decl *NewDecl = HandleDeclarator(S, D, TemplateParameterLists); in ActOnTemplateDeclarator() local 7815 ActOnDocumentableDecl(NewDecl); in ActOnTemplateDeclarator() 7816 return NewDecl; in ActOnTemplateDeclarator()
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/AST/ |
| H A D | ASTContext.cpp | 1105 RecordDecl *NewDecl; in buildImplicitRecord() local 1107 NewDecl = CXXRecordDecl::Create(*this, TK, getTranslationUnitDecl(), Loc, in buildImplicitRecord() 1110 NewDecl = RecordDecl::Create(*this, TK, getTranslationUnitDecl(), Loc, Loc, in buildImplicitRecord() 1112 NewDecl->setImplicit(); in buildImplicitRecord() 1113 NewDecl->addAttr(TypeVisibilityAttr::CreateImplicit( in buildImplicitRecord() 1115 return NewDecl; in buildImplicitRecord() 1121 TypedefDecl *NewDecl = TypedefDecl::Create( in buildImplicitTypedef() local 1124 NewDecl->setImplicit(); in buildImplicitTypedef() 1125 return NewDecl; in buildImplicitTypedef()
|