Searched refs:NewDecl (Results 1 – 9 of 9) sorted by relevance
/external/clang/include/clang/Sema/ |
D | Template.h | 497 DeclaratorDecl *NewDecl); 499 TagDecl *NewDecl);
|
D | Sema.h | 7051 Decl *NewDecl; member 7055 : TmplAttr(A), Scope(S), NewDecl(D) in LateInstantiatedAttribute()
|
/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 | 5462 NamedDecl *NewDecl, in checkDLLAttributeRedeclaration() argument 5466 if (TemplateDecl *NewTD = dyn_cast<TemplateDecl>(NewDecl)) in checkDLLAttributeRedeclaration() 5467 NewDecl = NewTD->getTemplatedDecl(); in checkDLLAttributeRedeclaration() 5469 if (!OldDecl || !NewDecl) in checkDLLAttributeRedeclaration() 5474 const DLLImportAttr *NewImportAttr = NewDecl->getAttr<DLLImportAttr>(); in checkDLLAttributeRedeclaration() 5475 const DLLExportAttr *NewExportAttr = NewDecl->getAttr<DLLExportAttr>(); in checkDLLAttributeRedeclaration() 5509 S.Diag(NewDecl->getLocation(), DiagID) in checkDLLAttributeRedeclaration() 5510 << NewDecl in checkDLLAttributeRedeclaration() 5514 NewDecl->setInvalidDecl(); in checkDLLAttributeRedeclaration() 5524 if (const auto *VD = dyn_cast<VarDecl>(NewDecl)) in checkDLLAttributeRedeclaration() [all …]
|
D | SemaTemplateInstantiate.cpp | 2057 NamedDecl *ND = dyn_cast<NamedDecl>(I->NewDecl); in InstantiateClass() 2065 I->NewDecl->addAttr(NewAttr); in InstantiateClass()
|
D | SemaDeclCXX.cpp | 8620 TypeAliasTemplateDecl *NewDecl = in ActOnAliasDeclaration() local 8624 NewTD->setDescribedAliasTemplate(NewDecl); in ActOnAliasDeclaration() 8626 NewDecl->setAccess(AS); in ActOnAliasDeclaration() 8629 NewDecl->setInvalidDecl(); in ActOnAliasDeclaration() 8631 NewDecl->setPreviousDecl(OldDecl); in ActOnAliasDeclaration() 8633 NewND = NewDecl; in ActOnAliasDeclaration()
|
D | SemaTemplate.cpp | 6541 Decl *NewDecl = HandleDeclarator(S, D, TemplateParameterLists); in ActOnTemplateDeclarator() local 6542 ActOnDocumentableDecl(NewDecl); in ActOnTemplateDeclarator() 6543 return NewDecl; in ActOnTemplateDeclarator()
|
/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/AST/ |
D | ASTContext.cpp | 936 RecordDecl *NewDecl; in buildImplicitRecord() local 938 NewDecl = CXXRecordDecl::Create(*this, TK, getTranslationUnitDecl(), Loc, in buildImplicitRecord() 941 NewDecl = RecordDecl::Create(*this, TK, getTranslationUnitDecl(), Loc, Loc, in buildImplicitRecord() 943 NewDecl->setImplicit(); in buildImplicitRecord() 944 NewDecl->addAttr(TypeVisibilityAttr::CreateImplicit( in buildImplicitRecord() 946 return NewDecl; in buildImplicitRecord() 952 TypedefDecl *NewDecl = TypedefDecl::Create( in buildImplicitTypedef() local 955 NewDecl->setImplicit(); in buildImplicitTypedef() 956 return NewDecl; in buildImplicitTypedef()
|