Searched refs:Redecl (Results 1 – 10 of 10) sorted by relevance
/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() 142 AllowHidden(Redecl == Sema::ForRedeclaration) in ResultKind() 152 Sema::RedeclarationKind Redecl = Sema::NotForRedeclaration) 160 Redecl(Redecl != Sema::NotForRedeclaration), in ResultKind() 162 Diagnose(Redecl == Sema::NotForRedeclaration), in ResultKind() 163 AllowHidden(Redecl == Sema::ForRedeclaration) in ResultKind() 179 Redecl(Other.Redecl), in LookupResult() 217 return Redecl; in isForRedeclaration() [all …]
|
D | Sema.h | 2292 RedeclarationKind Redecl 2302 RedeclarationKind Redecl
|
/external/clang/lib/Serialization/ |
D | ASTReaderDecl.cpp | 276 void mergeRedeclarable(Redeclarable<T> *D, RedeclarableResult &Redecl); 409 RedeclarableResult Redecl = VisitRedeclarable(TD); in VisitTypedefNameDecl() local 413 mergeRedeclarable(TD, Redecl); in VisitTypedefNameDecl() 425 RedeclarableResult Redecl = VisitRedeclarable(TD); in VisitTagDecl() local 442 mergeRedeclarable(TD, Redecl); in VisitTagDecl() 498 RedeclarableResult Redecl = VisitRedeclarable(FD); in VisitFunctionDecl() local 528 mergeRedeclarable(FD, Redecl); in VisitFunctionDecl() 685 RedeclarableResult Redecl = VisitRedeclarable(ID); in VisitObjCInterfaceDecl() local 688 mergeRedeclarable(ID, Redecl); in VisitObjCInterfaceDecl() 751 RedeclarableResult Redecl = VisitRedeclarable(PD); in VisitObjCProtocolDecl() local [all …]
|
/external/clang/lib/AST/ |
D | DeclObjC.cpp | 550 ObjCMethodDecl *Redecl = 0; in getNextRedeclaration() local 552 Redecl = const_cast<ObjCMethodDecl*>(Ctx.getObjCMethodRedeclaration(this)); in getNextRedeclaration() 553 if (Redecl) in getNextRedeclaration() 554 return Redecl; in getNextRedeclaration() 560 Redecl = ImplD->getMethod(getSelector(), isInstanceMethod()); in getNextRedeclaration() 564 Redecl = ImplD->getMethod(getSelector(), isInstanceMethod()); in getNextRedeclaration() 569 Redecl = IFD->getMethod(getSelector(), isInstanceMethod()); in getNextRedeclaration() 574 Redecl = CatD->getMethod(getSelector(), isInstanceMethod()); in getNextRedeclaration() 577 if (!Redecl && isRedeclaration()) { in getNextRedeclaration() 583 return Redecl ? Redecl : this; in getNextRedeclaration()
|
D | Decl.cpp | 2239 static bool RedeclForcesDefC99(const FunctionDecl *Redecl) { in RedeclForcesDefC99() argument 2241 if (!Redecl->getLexicalDeclContext()->isTranslationUnit()) in RedeclForcesDefC99() 2246 if (Redecl->isImplicit()) in RedeclForcesDefC99() 2249 if (!Redecl->isInlineSpecified() || Redecl->getStorageClass() == SC_Extern) in RedeclForcesDefC99() 2348 for (redecl_iterator Redecl = redecls_begin(), RedeclEnd = redecls_end(); in isInlineDefinitionExternallyVisible() local 2349 Redecl != RedeclEnd; in isInlineDefinitionExternallyVisible() 2350 ++Redecl) { in isInlineDefinitionExternallyVisible() 2351 if (Redecl->isInlineSpecified() && in isInlineDefinitionExternallyVisible() 2352 Redecl->getStorageClassAsWritten() != SC_Extern) in isInlineDefinitionExternallyVisible() 2367 for (redecl_iterator Redecl = redecls_begin(), RedeclEnd = redecls_end(); in isInlineDefinitionExternallyVisible() local [all …]
|
/external/clang/test/Sema/ |
D | anonymous-struct-union.c | 38 struct Redecl { struct
|
/external/clang/test/SemaCXX/ |
D | anonymous-union.cpp | 62 struct Redecl { struct
|
/external/clang/include/clang/AST/ |
D | ASTContext.h | 2014 const ObjCMethodDecl *Redecl) { in setObjCMethodRedeclaration() argument 2016 ObjCMethodRedecls[MD] = Redecl; in setObjCMethodRedeclaration()
|
/external/clang/lib/Sema/ |
D | SemaLookup.cpp | 2172 RedeclarationKind Redecl) { in LookupSingleName() argument 2173 LookupResult R(*this, Name, Loc, NameKind, Redecl); in LookupSingleName() 2181 RedeclarationKind Redecl) { in LookupProtocol() argument 2183 LookupObjCProtocolName, Redecl); in LookupProtocol()
|
D | SemaDecl.cpp | 9278 const TagDecl *Redecl = Previous->getDefinition() ? in isAcceptableTagRedeclaration() local 9280 if (Redecl->getTagKind() == NewTag) { in isAcceptableTagRedeclaration() 9287 Diag(Redecl->getLocation(), diag::note_previous_use); in isAcceptableTagRedeclaration() 9292 << getRedeclDiagFromTagKind(Redecl->getTagKind()) in isAcceptableTagRedeclaration() 9294 TypeWithKeyword::getTagTypeKindName(Redecl->getTagKind())); in isAcceptableTagRedeclaration() 9400 RedeclarationKind Redecl = ForRedeclaration; in ActOnTag() local 9402 Redecl = NotForRedeclaration; in ActOnTag() 9404 LookupResult Previous(*this, Name, NameLoc, LookupTagName, Redecl); in ActOnTag()
|