Searched refs:NewDecl (Results 1 – 10 of 10) sorted by relevance
/external/clang/include/clang/Sema/ |
D | Template.h | 497 DeclaratorDecl *NewDecl); 499 TagDecl *NewDecl);
|
D | Sema.h | 7213 Decl *NewDecl; member 7217 : TmplAttr(A), Scope(S), NewDecl(D) in LateInstantiatedAttribute()
|
/external/llvm/lib/IR/ |
D | Function.cpp | 1109 auto NewDecl = Intrinsic::getDeclaration(F->getParent(), ID, ArgTys); in remangleIntrinsicFunction() local 1110 NewDecl->setCallingConv(F->getCallingConv()); in remangleIntrinsicFunction() 1111 assert(NewDecl->getFunctionType() == FTy && "Shouldn't change the signature"); in remangleIntrinsicFunction() 1112 return NewDecl; in remangleIntrinsicFunction()
|
/external/llvm/lib/Transforms/ObjCARC/ |
D | ObjCARCOpts.cpp | 632 Constant *NewDecl = EP.get(ARCRuntimeEntryPointKind::Retain); in OptimizeRetainRVCall() local 633 cast<CallInst>(RetainRV)->setCalledFunction(NewDecl); in OptimizeRetainRVCall() 668 Constant *NewDecl = EP.get(ARCRuntimeEntryPointKind::Autorelease); in OptimizeAutoreleaseRVCall() local 669 AutoreleaseRVCI->setCalledFunction(NewDecl); in OptimizeAutoreleaseRVCall()
|
/external/clang/lib/Sema/ |
D | SemaTemplateInstantiateDecl.cpp | 40 static bool SubstQualifier(Sema &SemaRef, const DeclT *OldDecl, DeclT *NewDecl, in SubstQualifier() argument 45 assert((NewDecl->getFriendObjectKind() || in SubstQualifier() 50 const_cast<DeclContext *>(NewDecl->getFriendObjectKind() in SubstQualifier() 51 ? NewDecl->getLexicalDeclContext() in SubstQualifier() 61 NewDecl->setQualifierInfo(NewQualifierLoc); in SubstQualifier() 66 DeclaratorDecl *NewDecl) { in SubstQualifier() argument 67 return ::SubstQualifier(SemaRef, OldDecl, NewDecl, TemplateArgs); in SubstQualifier() 71 TagDecl *NewDecl) { in SubstQualifier() argument 72 return ::SubstQualifier(SemaRef, OldDecl, NewDecl, TemplateArgs); in SubstQualifier()
|
D | SemaDecl.cpp | 5595 NamedDecl *NewDecl, in checkDLLAttributeRedeclaration() argument 5603 if (TemplateDecl *NewTD = dyn_cast<TemplateDecl>(NewDecl)) in checkDLLAttributeRedeclaration() 5604 NewDecl = NewTD->getTemplatedDecl(); in checkDLLAttributeRedeclaration() 5606 if (!OldDecl || !NewDecl) in checkDLLAttributeRedeclaration() 5611 const DLLImportAttr *NewImportAttr = NewDecl->getAttr<DLLImportAttr>(); in checkDLLAttributeRedeclaration() 5612 const DLLExportAttr *NewExportAttr = NewDecl->getAttr<DLLExportAttr>(); in checkDLLAttributeRedeclaration() 5646 S.Diag(NewDecl->getLocation(), DiagID) in checkDLLAttributeRedeclaration() 5647 << NewDecl in checkDLLAttributeRedeclaration() 5651 NewDecl->setInvalidDecl(); in checkDLLAttributeRedeclaration() 5662 if (const auto *VD = dyn_cast<VarDecl>(NewDecl)) { in checkDLLAttributeRedeclaration() [all …]
|
D | SemaTemplateInstantiate.cpp | 2071 NamedDecl *ND = dyn_cast<NamedDecl>(I->NewDecl); in InstantiateClass() 2079 I->NewDecl->addAttr(NewAttr); in InstantiateClass()
|
D | SemaDeclCXX.cpp | 8865 TypeAliasTemplateDecl *NewDecl = in ActOnAliasDeclaration() local 8869 NewTD->setDescribedAliasTemplate(NewDecl); in ActOnAliasDeclaration() 8871 NewDecl->setAccess(AS); in ActOnAliasDeclaration() 8874 NewDecl->setInvalidDecl(); in ActOnAliasDeclaration() 8876 NewDecl->setPreviousDecl(OldDecl); in ActOnAliasDeclaration() 8878 NewND = NewDecl; in ActOnAliasDeclaration()
|
D | SemaTemplate.cpp | 6580 Decl *NewDecl = HandleDeclarator(S, D, TemplateParameterLists); in ActOnTemplateDeclarator() local 6581 ActOnDocumentableDecl(NewDecl); in ActOnTemplateDeclarator() 6582 return NewDecl; in ActOnTemplateDeclarator()
|
/external/clang/lib/AST/ |
D | ASTContext.cpp | 941 RecordDecl *NewDecl; in buildImplicitRecord() local 943 NewDecl = CXXRecordDecl::Create(*this, TK, getTranslationUnitDecl(), Loc, in buildImplicitRecord() 946 NewDecl = RecordDecl::Create(*this, TK, getTranslationUnitDecl(), Loc, Loc, in buildImplicitRecord() 948 NewDecl->setImplicit(); in buildImplicitRecord() 949 NewDecl->addAttr(TypeVisibilityAttr::CreateImplicit( in buildImplicitRecord() 951 return NewDecl; in buildImplicitRecord() 957 TypedefDecl *NewDecl = TypedefDecl::Create( in buildImplicitTypedef() local 960 NewDecl->setImplicit(); in buildImplicitTypedef() 961 return NewDecl; in buildImplicitTypedef()
|