Home
last modified time | relevance | path

Searched refs:Redecl (Results 1 – 10 of 10) sorted by relevance

/external/clang/include/clang/Sema/
DLookup.h131 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 …]
DSema.h2292 RedeclarationKind Redecl
2302 RedeclarationKind Redecl
/external/clang/lib/Serialization/
DASTReaderDecl.cpp276 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/
DDeclObjC.cpp550 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()
DDecl.cpp2239 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/
Danonymous-struct-union.c38 struct Redecl { struct
/external/clang/test/SemaCXX/
Danonymous-union.cpp62 struct Redecl { struct
/external/clang/include/clang/AST/
DASTContext.h2014 const ObjCMethodDecl *Redecl) { in setObjCMethodRedeclaration() argument
2016 ObjCMethodRedecls[MD] = Redecl; in setObjCMethodRedeclaration()
/external/clang/lib/Sema/
DSemaLookup.cpp2172 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()
DSemaDecl.cpp9278 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()