Home
last modified time | relevance | path

Searched defs:Redecl (Results 1 – 25 of 29) sorted by relevance

12

/llvm-project/clang/test/Sema/
H A Danonymous-struct-union.c39 struct Redecl { struct
40 int x; // expected-note{{previous declaration is here}}
41 struct y { }; // expected-warning{{declaration does not declare anything}}
43 union {
50 int z; // expected-error{{duplicate member 'z'}}
/llvm-project/clang/test/CodeGenCXX/
H A Dstandalone-debug-attribute.cpp47 struct STANDALONEDEBUGATTR Redecl; variable
48 struct Redecl {}; struct
/llvm-project/clang/test/SemaCXX/
H A Danonymous-union.cpp63 struct Redecl { struct
64 int x; // expected-note{{previous declaration is here}}
65 class y { }; // expected-note{{previous declaration is here}}
67 union {
74 int z; // expected-error{{duplicate member 'z'}}
H A Ddeduced-return-type-cxx14.cpp377 namespace Redecl { namespace
/llvm-project/clang/lib/Serialization/
H A DASTReaderDecl.cpp719 RedeclarableResult Redecl = VisitTypedefNameDecl(TD); in VisitTypedefNameDecl() local
736 RedeclarableResult Redecl = VisitTypedefNameDecl(TD); VisitTypedefDecl() local
741 RedeclarableResult Redecl = VisitTypedefNameDecl(TD); VisitTypeAliasDecl() local
750 RedeclarableResult Redecl = VisitRedeclarable(TD); VisitTagDecl() local
845 RedeclarableResult Redecl = VisitTagDecl(RD); VisitRecordDeclImpl() local
934 RedeclarableResult Redecl = VisitRedeclarable(FD); VisitFunctionDecl() local
1295 RedeclarableResult Redecl = VisitRedeclarable(ID); VisitObjCInterfaceDecl() local
1406 RedeclarableResult Redecl = VisitRedeclarable(PD); VisitObjCProtocolDecl() local
1607 RedeclarableResult Redecl = VisitRedeclarable(VD); VisitVarDeclImpl() local
1836 RedeclarableResult Redecl = VisitRedeclarable(D); VisitNamespaceDecl() local
1880 RedeclarableResult Redecl = VisitRedeclarable(D); VisitNamespaceAliasDecl() local
1922 RedeclarableResult Redecl = VisitRedeclarable(D); VisitUsingShadowDecl() local
2214 RedeclarableResult Redecl = VisitRecordDeclImpl(D); VisitCXXRecordDeclImpl() local
2422 RedeclarableResult Redecl = VisitRedeclarable(D); VisitRedeclarableTemplateDecl() local
2452 RedeclarableResult Redecl = VisitRedeclarableTemplateDecl(D); VisitClassTemplateDecl() local
2480 RedeclarableResult Redecl = VisitRedeclarableTemplateDecl(D); VisitVarTemplateDecl() local
2495 RedeclarableResult Redecl = VisitCXXRecordDeclImpl(D); VisitClassTemplateSpecializationDeclImpl() local
2573 RedeclarableResult Redecl = VisitClassTemplateSpecializationDeclImpl(D); VisitClassTemplatePartialSpecializationDecl() local
2584 RedeclarableResult Redecl = VisitRedeclarableTemplateDecl(D); VisitFunctionTemplateDecl() local
2639 RedeclarableResult Redecl = VisitVarDeclImpl(D); VisitVarTemplateSpecializationDeclImpl() local
2672 RedeclarableResult Redecl = VisitVarTemplateSpecializationDeclImpl(D); VisitVarTemplatePartialSpecializationDecl() local
2747 RedeclarableResult Redecl = VisitRedeclarableTemplateDecl(D); VisitTypeAliasTemplateDecl() local
2847 mergeRedeclarable(Redeclarable<T> * DBase,RedeclarableResult & Redecl) mergeRedeclarable() argument
2872 mergeLambda(CXXRecordDecl * D,RedeclarableResult & Redecl,Decl * Context,unsigned IndexInContext) mergeLambda() argument
2902 mergeRedeclarableTemplate(RedeclarableTemplateDecl * D,RedeclarableResult & Redecl) mergeRedeclarableTemplate() argument
2964 mergeRedeclarable(Redeclarable<T> * DBase,T * Existing,RedeclarableResult & Redecl) mergeRedeclarable() argument
4509 for (auto *Redecl = MostRecent; Redecl && !Found; forAllLaterRedecls() local
4515 for (auto *Redecl = MostRecent; Redecl != D; forAllLaterRedecls() local
[all...]
H A DASTWriterDecl.cpp2034 for (const Decl *Redecl = D; Redecl; Redecl = Redecl->getPreviousDecl()) getFirstLocalDecl() local
/llvm-project/clang-tools-extra/include-cleaner/lib/
H A DLocateSymbol.cpp52 for (auto *Redecl : D.redecls()) in locateDecl() local
/llvm-project/clang-tools-extra/clang-tidy/modernize/
H A DPassByValueCheck.cpp184 for (const FunctionDecl *Redecl : Ctor->redecls()) in collectParamDecls() local
/llvm-project/clang/include/clang/AST/
H A DJSONNodeDumper.h387 const auto *Redecl = dyn_cast<SpecializationDecl>(RedeclWithBadType); writeTemplateDeclSpecialization() local
H A DASTNodeTraverser.h618 auto *Redecl = dyn_cast<SpecializationDecl>(RedeclWithBadType); dumpTemplateDeclSpecialization() local
/llvm-project/clang-tools-extra/clangd/
H A DQuality.cpp36 for (auto *Redecl : D.redecls()) { in hasDeclInMainFile() local
/llvm-project/clang-tools-extra/clang-tidy/readability/
H A DInconsistentDeclarationParameterNameCheck.cpp346 for (const FunctionDecl *Redecl : OriginalDeclaration->redecls()) { in markRedeclarationsAsVisited() local
/llvm-project/clang/lib/AST/
H A DASTDumper.cpp121 switch (Redecl->getTemplateSpecializationKind()) { in dumpTemplateDeclSpecialization() local
H A DDecl.cpp3761 redeclForcesDefMSVC(const FunctionDecl * Redecl) redeclForcesDefMSVC() argument
3773 RedeclForcesDefC99(const FunctionDecl * Redecl) RedeclForcesDefC99() argument
3936 for (auto *Redecl : redecls()) { isInlineDefinitionExternallyVisible() local
3953 for (auto *Redecl : redecls()) { isInlineDefinitionExternallyVisible() local
[all...]
H A DAPValue.cpp73 for (auto *Redecl = cast<ValueDecl>(D->getMostRecentDecl()); Redecl; in getType() local
H A DDeclObjC.cpp965 Redecl = const_cast<ObjCMethodDecl*>(Ctx.getObjCMethodRedeclaration(this)); in getNextRedeclarationImpl() local
[all...]
H A DASTContext.cpp448 for (const auto Redecl : D->redecls()) { getRawCommentForAnyRedecl() local
2956 setObjCMethodRedeclaration(const ObjCMethodDecl * MD,const ObjCMethodDecl * Redecl) setObjCMethodRedeclaration() argument
[all...]
/llvm-project/clang/include/clang/Sema/
H A DLookup.h808 bool Redecl; variable
/llvm-project/clang/lib/Sema/
H A DSemaAvailability.cpp418 for (const Decl *Redecl = OffendingDecl->getMostRecentDecl(); Redecl; DoEmitAvailabilityWarning() local
H A DSemaHLSL.cpp713 for (const auto *Redecl : FD->redecls()) { RunOnTranslationUnit() local
H A DSemaExprMember.cpp739 RedeclarationKind Redecl; LookupMemberExprInRecord() member
H A DSemaLookup.cpp1711 for (auto *Redecl : D->redecls()) { hasAcceptableDeclarationImpl() local
3269 LookupSingleName(Scope * S,DeclarationName Name,SourceLocation Loc,LookupNameKind NameKind,RedeclarationKind Redecl) LookupSingleName() argument
H A DSemaObjC.cpp1302 LookupProtocol(IdentifierInfo * II,SourceLocation IdLoc,RedeclarationKind Redecl) LookupProtocol() argument
H A DSemaExprObjC.cpp3860 for (auto *Redecl : RT->getDecl()->getMostRecentDecl()->redecls()) { getObjCBridgeAttr() local
H A DSemaDecl.cpp16850 const TagDecl *Redecl = PrevDef ? PrevDef : Previous; isAcceptableTagRedeclaration() local
17078 RedeclarationKind Redecl = forRedeclarationInCurContext(); ActOnTag() local

12