Searched refs:NewDecl (Results 1 – 9 of 9) sorted by relevance
/external/clang/include/clang/Sema/ |
D | Template.h | 496 DeclaratorDecl *NewDecl); 498 TagDecl *NewDecl);
|
D | Sema.h | 6785 Decl *NewDecl; member 6789 : 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 | 5250 NamedDecl *NewDecl, in checkDLLAttributeRedeclaration() argument 5254 if (TemplateDecl *NewTD = dyn_cast<TemplateDecl>(NewDecl)) in checkDLLAttributeRedeclaration() 5255 NewDecl = NewTD->getTemplatedDecl(); in checkDLLAttributeRedeclaration() 5257 if (!OldDecl || !NewDecl) in checkDLLAttributeRedeclaration() 5262 const DLLImportAttr *NewImportAttr = NewDecl->getAttr<DLLImportAttr>(); in checkDLLAttributeRedeclaration() 5263 const DLLExportAttr *NewExportAttr = NewDecl->getAttr<DLLExportAttr>(); in checkDLLAttributeRedeclaration() 5291 S.Diag(NewDecl->getLocation(), DiagID) in checkDLLAttributeRedeclaration() 5292 << NewDecl in checkDLLAttributeRedeclaration() 5296 NewDecl->setInvalidDecl(); in checkDLLAttributeRedeclaration() 5306 if (const auto *VD = dyn_cast<VarDecl>(NewDecl)) in checkDLLAttributeRedeclaration() [all …]
|
D | SemaTemplateInstantiate.cpp | 2058 NamedDecl *ND = dyn_cast<NamedDecl>(I->NewDecl); in InstantiateClass() 2066 I->NewDecl->addAttr(NewAttr); in InstantiateClass()
|
D | SemaDeclCXX.cpp | 8605 TypeAliasTemplateDecl *NewDecl = in ActOnAliasDeclaration() local 8609 NewTD->setDescribedAliasTemplate(NewDecl); in ActOnAliasDeclaration() 8611 NewDecl->setAccess(AS); in ActOnAliasDeclaration() 8614 NewDecl->setInvalidDecl(); in ActOnAliasDeclaration() 8616 NewDecl->setPreviousDecl(OldDecl); in ActOnAliasDeclaration() 8618 NewND = NewDecl; in ActOnAliasDeclaration()
|
D | SemaTemplate.cpp | 6444 Decl *NewDecl = HandleDeclarator(S, D, TemplateParameterLists); in ActOnTemplateDeclarator() local 6445 ActOnDocumentableDecl(NewDecl); in ActOnTemplateDeclarator() 6446 return NewDecl; in ActOnTemplateDeclarator()
|
/external/llvm/lib/Transforms/ObjCARC/ |
D | ObjCARCOpts.cpp | 627 Constant *NewDecl = EP.get(ARCRuntimeEntryPointKind::Retain); in OptimizeRetainRVCall() local 628 cast<CallInst>(RetainRV)->setCalledFunction(NewDecl); in OptimizeRetainRVCall() 663 Constant *NewDecl = EP.get(ARCRuntimeEntryPointKind::Autorelease); in OptimizeAutoreleaseRVCall() local 664 AutoreleaseRVCI->setCalledFunction(NewDecl); in OptimizeAutoreleaseRVCall()
|
/external/clang/lib/AST/ |
D | ASTContext.cpp | 879 RecordDecl *NewDecl; in buildImplicitRecord() local 881 NewDecl = CXXRecordDecl::Create(*this, TK, getTranslationUnitDecl(), Loc, in buildImplicitRecord() 884 NewDecl = RecordDecl::Create(*this, TK, getTranslationUnitDecl(), Loc, Loc, in buildImplicitRecord() 886 NewDecl->setImplicit(); in buildImplicitRecord() 887 NewDecl->addAttr(TypeVisibilityAttr::CreateImplicit( in buildImplicitRecord() 889 return NewDecl; in buildImplicitRecord() 895 TypedefDecl *NewDecl = TypedefDecl::Create( in buildImplicitTypedef() local 898 NewDecl->setImplicit(); in buildImplicitTypedef() 899 return NewDecl; in buildImplicitTypedef()
|