/external/clang/include/clang/Sema/ |
D | Lookup.h | 131 Sema::RedeclarationKind Redecl = Sema::NotForRedeclaration) 139 Redecl(Redecl != Sema::NotForRedeclaration), in ResultKind() 141 Diagnose(Redecl == Sema::NotForRedeclaration), in ResultKind() 153 Sema::RedeclarationKind Redecl = Sema::NotForRedeclaration) 161 Redecl(Redecl != Sema::NotForRedeclaration), in ResultKind() 163 Diagnose(Redecl == Sema::NotForRedeclaration), in ResultKind() 181 Redecl(Other.Redecl), in LookupResult() 220 return Redecl; in isForRedeclaration() 514 Redecl = RK; in setRedeclarationKind() 675 bool Redecl; variable
|
D | Sema.h | 2772 RedeclarationKind Redecl 2784 RedeclarationKind Redecl
|
/external/clang/lib/Serialization/ |
D | ASTReaderDecl.cpp | 320 void mergeRedeclarable(Redeclarable<T> *D, RedeclarableResult &Redecl, 325 RedeclarableResult &Redecl, 559 RedeclarableResult Redecl = VisitRedeclarable(TD); in VisitTypedefNameDecl() local 567 return Redecl; in VisitTypedefNameDecl() 571 RedeclarableResult Redecl = VisitTypedefNameDecl(TD); in VisitTypedefDecl() local 572 mergeRedeclarable(TD, Redecl); in VisitTypedefDecl() 576 RedeclarableResult Redecl = VisitTypedefNameDecl(TD); in VisitTypeAliasDecl() local 581 mergeRedeclarable(TD, Redecl); in VisitTypeAliasDecl() 585 RedeclarableResult Redecl = VisitRedeclarable(TD); in VisitTagDecl() local 615 mergeRedeclarable(TD, Redecl); in VisitTagDecl() [all …]
|
D | ASTWriterDecl.cpp | 1557 for (const Decl *Redecl = D; Redecl; Redecl = Redecl->getPreviousDecl()) in getFirstLocalDecl() local 1558 if (IsLocalDecl(Redecl)) in getFirstLocalDecl() 1559 D = Redecl; in getFirstLocalDecl()
|
D | ASTWriter.cpp | 3087 if (Decl *Redecl = D->getPreviousDecl()) { in getDeclForLocalLookup() local 3089 for (; Redecl; Redecl = Redecl->getPreviousDecl()) { in getDeclForLocalLookup() 3090 if (!Redecl->isFromASTFile()) in getDeclForLocalLookup() 3091 return cast<NamedDecl>(Redecl); in getDeclForLocalLookup()
|
D | ASTReader.cpp | 8588 for (auto *Redecl : Update.second->redecls()) in FinishedDeserializing() local 8589 Context.adjustExceptionSpec(cast<FunctionDecl>(Redecl), ESI); in FinishedDeserializing()
|
/external/clang/test/Sema/ |
D | anonymous-struct-union.c | 39 struct Redecl { struct
|
/external/clang/lib/AST/ |
D | DeclObjC.cpp | 809 ObjCMethodDecl *Redecl = nullptr; in getNextRedeclarationImpl() local 811 Redecl = const_cast<ObjCMethodDecl*>(Ctx.getObjCMethodRedeclaration(this)); in getNextRedeclarationImpl() 812 if (Redecl) in getNextRedeclarationImpl() 813 return Redecl; in getNextRedeclarationImpl() 821 Redecl = ImplD->getMethod(getSelector(), isInstanceMethod()); in getNextRedeclarationImpl() 826 Redecl = ImplD->getMethod(getSelector(), isInstanceMethod()); in getNextRedeclarationImpl() 832 Redecl = IFD->getMethod(getSelector(), isInstanceMethod()); in getNextRedeclarationImpl() 838 Redecl = CatD->getMethod(getSelector(), isInstanceMethod()); in getNextRedeclarationImpl() 842 if (!Redecl && isRedeclaration()) { in getNextRedeclarationImpl() 848 return Redecl ? Redecl : this; in getNextRedeclarationImpl()
|
D | Decl.cpp | 2736 static bool redeclForcesDefMSVC(const FunctionDecl *Redecl) { in redeclForcesDefMSVC() argument 2737 if (Redecl->getStorageClass() != SC_Extern) in redeclForcesDefMSVC() 2740 for (const FunctionDecl *FD = Redecl->getPreviousDecl(); FD; in redeclForcesDefMSVC() 2748 static bool RedeclForcesDefC99(const FunctionDecl *Redecl) { in RedeclForcesDefC99() argument 2750 if (!Redecl->getLexicalDeclContext()->isTranslationUnit()) in RedeclForcesDefC99() 2755 if (Redecl->isImplicit()) in RedeclForcesDefC99() 2758 if (!Redecl->isInlineSpecified() || Redecl->getStorageClass() == SC_Extern) in RedeclForcesDefC99() 2896 for (auto Redecl : redecls()) { in isInlineDefinitionExternallyVisible() local 2897 if (Redecl->isInlineSpecified() && in isInlineDefinitionExternallyVisible() 2898 Redecl->getStorageClass() != SC_Extern) in isInlineDefinitionExternallyVisible() [all …]
|
D | ASTDumper.cpp | 1258 auto *Redecl = dyn_cast<SpecializationDecl>(RedeclWithBadType); in VisitTemplateDeclSpecialization() local 1259 if (!Redecl) { in VisitTemplateDeclSpecialization() 1267 switch (Redecl->getTemplateSpecializationKind()) { in VisitTemplateDeclSpecialization() 1276 dumpDeclRef(Redecl); in VisitTemplateDeclSpecialization() 1278 dumpDecl(Redecl); in VisitTemplateDeclSpecialization()
|
/external/clang/test/SemaCXX/ |
D | anonymous-union.cpp | 63 struct Redecl { struct
|
D | cxx1y-deduced-return-type.cpp | 328 namespace Redecl { namespace
|
/external/clang/lib/Sema/ |
D | SemaExceptionSpec.cpp | 181 for (auto *Redecl : FD->redecls()) in UpdateExceptionSpec() local 182 Context.adjustExceptionSpec(cast<FunctionDecl>(Redecl), ESI); in UpdateExceptionSpec()
|
D | SemaExprMember.cpp | 657 Sema::RedeclarationKind Redecl; in LookupMemberExprInRecord() member 680 LookupResult R(Q.SemaRef, Q.NameInfo, Q.LookupKind, Q.Redecl); in LookupMemberExprInRecord()
|
D | SemaLookup.cpp | 2688 RedeclarationKind Redecl) { in LookupSingleName() argument 2689 LookupResult R(*this, Name, Loc, NameKind, Redecl); in LookupSingleName() 2697 RedeclarationKind Redecl) { in LookupProtocol() argument 2699 LookupObjCProtocolName, Redecl); in LookupProtocol()
|
D | SemaType.cpp | 6510 for (auto *Redecl : ED->redecls()) { in hasVisibleDefinition() local 6511 if (isVisible(Redecl)) in hasVisibleDefinition() 6513 if (Redecl->isThisDeclarationADefinition() || in hasVisibleDefinition() 6514 (Redecl->isCanonicalDecl() && !*Suggested)) in hasVisibleDefinition() 6515 *Suggested = Redecl; in hasVisibleDefinition()
|
D | SemaDecl.cpp | 11720 const TagDecl *Redecl = Previous->getDefinition() ? in isAcceptableTagRedeclaration() local 11722 if (Redecl->getTagKind() == NewTag) { in isAcceptableTagRedeclaration() 11729 Diag(Redecl->getLocation(), diag::note_previous_use); in isAcceptableTagRedeclaration() 11734 << getRedeclDiagFromTagKind(Redecl->getTagKind()) in isAcceptableTagRedeclaration() 11736 TypeWithKeyword::getTagTypeKindName(Redecl->getTagKind())); in isAcceptableTagRedeclaration() 11921 RedeclarationKind Redecl = ForRedeclaration; in ActOnTag() local 11923 Redecl = NotForRedeclaration; in ActOnTag() 11925 LookupResult Previous(*this, Name, NameLoc, LookupTagName, Redecl); in ActOnTag()
|
D | SemaExpr.cpp | 176 for (Decl *Redecl = D->getMostRecentDecl(); Redecl && Warn; in DiagnoseAvailabilityOfDecl() local 177 Redecl = Redecl->getPreviousDecl()) in DiagnoseAvailabilityOfDecl() 178 if (!Redecl->hasAttr<AvailabilityAttr>() || in DiagnoseAvailabilityOfDecl() 179 Redecl->getAttr<AvailabilityAttr>()->isInherited()) in DiagnoseAvailabilityOfDecl()
|
/external/clang/include/clang/AST/ |
D | ASTContext.h | 2318 const ObjCMethodDecl *Redecl) { in setObjCMethodRedeclaration() argument 2320 ObjCMethodRedecls[MD] = Redecl; in setObjCMethodRedeclaration()
|