| /netbsd-src/external/apache2/llvm/dist/clang/include/clang/Sema/ |
| H A D | Lookup.h | 147 Sema::RedeclarationKind Redecl = Sema::NotForRedeclaration) 149 Redecl(Redecl != Sema::NotForRedeclaration), 150 ExternalRedecl(Redecl == Sema::ForExternalRedeclaration), 151 Diagnose(Redecl == Sema::NotForRedeclaration) { 160 Sema::RedeclarationKind Redecl = Sema::NotForRedeclaration) 162 Redecl(Redecl != Sema::NotForRedeclaration), 163 ExternalRedecl(Redecl == Sema::ForExternalRedeclaration), 164 Diagnose(Redecl == Sema::NotForRedeclaration) { 173 LookupKind(Other.LookupKind), IDNS(Other.IDNS), Redecl(Other.Redecl), in LookupResult() 192 Redecl(std::move(Other.Redecl)), in LookupResult() [all …]
|
| H A D | Sema.h | 4080 RedeclarationKind Redecl 4094 RedeclarationKind Redecl
|
| /netbsd-src/external/apache2/llvm/dist/clang/lib/Serialization/ |
| H A D | ASTReaderDecl.cpp | 414 void mergeRedeclarable(Redeclarable<T> *D, RedeclarableResult &Redecl, 419 RedeclarableResult &Redecl, 675 RedeclarableResult Redecl = VisitRedeclarable(TD); in VisitTypedefNameDecl() local 688 return Redecl; in VisitTypedefNameDecl() 692 RedeclarableResult Redecl = VisitTypedefNameDecl(TD); in VisitTypedefDecl() local 693 mergeRedeclarable(TD, Redecl); in VisitTypedefDecl() 697 RedeclarableResult Redecl = VisitTypedefNameDecl(TD); in VisitTypeAliasDecl() local 702 mergeRedeclarable(TD, Redecl); in VisitTypeAliasDecl() 706 RedeclarableResult Redecl = VisitRedeclarable(TD); in VisitTagDecl() local 736 mergeRedeclarable(TD, Redecl); in VisitTagDecl() [all …]
|
| H A D | ASTWriterDecl.cpp | 1774 for (const Decl *Redecl = D; Redecl; Redecl = Redecl->getPreviousDecl()) in getFirstLocalDecl() local 1775 if (IsLocalDecl(Redecl)) in getFirstLocalDecl() 1776 D = Redecl; in getFirstLocalDecl()
|
| H A D | ASTWriter.cpp | 3235 if (Decl *Redecl = D->getPreviousDecl()) { in getDeclForLocalLookup() local 3237 for (; Redecl; Redecl = Redecl->getPreviousDecl()) { in getDeclForLocalLookup() 3239 if (!Redecl->isFromASTFile()) { in getDeclForLocalLookup() 3243 if (!Redecl->getDeclContext()->getRedeclContext()->Equals( in getDeclForLocalLookup() 3246 return cast<NamedDecl>(Redecl); in getDeclForLocalLookup() 3251 if (Redecl->getOwningModuleID() == 0) in getDeclForLocalLookup()
|
| H A D | ASTReader.cpp | 11565 for (auto *Redecl : Update.second->redecls()) in FinishedDeserializing() local 11566 getContext().adjustExceptionSpec(cast<FunctionDecl>(Redecl), ESI); in FinishedDeserializing()
|
| /netbsd-src/external/apache2/llvm/dist/clang/lib/AST/ |
| H A D | ASTDumper.cpp | 93 auto *Redecl = dyn_cast<SpecializationDecl>(RedeclWithBadType); in dumpTemplateDeclSpecialization() local 94 if (!Redecl) { in dumpTemplateDeclSpecialization() 102 switch (Redecl->getTemplateSpecializationKind()) { in dumpTemplateDeclSpecialization() 111 NodeDumper.dumpDeclRef(Redecl); in dumpTemplateDeclSpecialization() 113 Visit(Redecl); in dumpTemplateDeclSpecialization()
|
| H A D | DeclObjC.cpp | 914 ObjCMethodDecl *Redecl = nullptr; in getNextRedeclarationImpl() local 916 Redecl = const_cast<ObjCMethodDecl*>(Ctx.getObjCMethodRedeclaration(this)); in getNextRedeclarationImpl() 917 if (Redecl) in getNextRedeclarationImpl() 918 return Redecl; in getNextRedeclarationImpl() 926 Redecl = ImplD->getMethod(getSelector(), isInstanceMethod()); in getNextRedeclarationImpl() 931 Redecl = ImplD->getMethod(getSelector(), isInstanceMethod()); in getNextRedeclarationImpl() 936 Redecl = IFD->getMethod(getSelector(), isInstanceMethod()); in getNextRedeclarationImpl() 941 Redecl = CatD->getMethod(getSelector(), isInstanceMethod()); in getNextRedeclarationImpl() 948 if (Redecl && cast<Decl>(Redecl->getDeclContext())->isInvalidDecl()) in getNextRedeclarationImpl() 949 Redecl = nullptr; in getNextRedeclarationImpl() [all …]
|
| H A D | APValue.cpp | 73 for (auto *Redecl = cast<ValueDecl>(D->getMostRecentDecl()); Redecl; in getType() local 74 Redecl = cast_or_null<ValueDecl>(Redecl->getPreviousDecl())) { in getType() 75 QualType T = Redecl->getType(); in getType()
|
| H A D | Decl.cpp | 3413 static bool redeclForcesDefMSVC(const FunctionDecl *Redecl) { in redeclForcesDefMSVC() argument 3414 if (Redecl->getStorageClass() != SC_Extern) in redeclForcesDefMSVC() 3417 for (const FunctionDecl *FD = Redecl->getPreviousDecl(); FD; in redeclForcesDefMSVC() 3425 static bool RedeclForcesDefC99(const FunctionDecl *Redecl) { in RedeclForcesDefC99() argument 3427 if (!Redecl->getLexicalDeclContext()->isTranslationUnit()) in RedeclForcesDefC99() 3432 if (Redecl->isImplicit()) in RedeclForcesDefC99() 3435 if (!Redecl->isInlineSpecified() || Redecl->getStorageClass() == SC_Extern) in RedeclForcesDefC99() 3588 for (auto Redecl : redecls()) { in isInlineDefinitionExternallyVisible() local 3589 if (Redecl->isInlineSpecified() && in isInlineDefinitionExternallyVisible() 3590 Redecl->getStorageClass() != SC_Extern) in isInlineDefinitionExternallyVisible() [all …]
|
| H A D | ASTContext.cpp | 425 for (const auto Redecl : D->redecls()) { in getRawCommentForAnyRedecl() local 426 assert(Redecl); in getRawCommentForAnyRedecl() 429 if (LastCheckedRedecl == Redecl) { in getRawCommentForAnyRedecl() 434 const RawComment *RedeclComment = getRawCommentForDeclNoCache(Redecl); in getRawCommentForAnyRedecl() 436 cacheRawCommentForDecl(*Redecl, *RedeclComment); in getRawCommentForAnyRedecl() 438 *OriginalDecl = Redecl; in getRawCommentForAnyRedecl() 441 CommentlessRedeclChains[CanonicalD] = Redecl; in getRawCommentForAnyRedecl() 2838 const ObjCMethodDecl *Redecl) { in setObjCMethodRedeclaration() argument 2840 ObjCMethodRedecls[MD] = Redecl; in setObjCMethodRedeclaration()
|
| /netbsd-src/external/apache2/llvm/dist/clang/include/clang/AST/ |
| H A D | JSONNodeDumper.h | 362 const auto *Redecl = dyn_cast<SpecializationDecl>(RedeclWithBadType); in writeTemplateDeclSpecialization() local 363 if (!Redecl) { in writeTemplateDeclSpecialization() 372 switch (Redecl->getTemplateSpecializationKind()) { in writeTemplateDeclSpecialization() 381 NodeDumper.AddChild([=] { NodeDumper.writeBareDeclRef(Redecl); }); in writeTemplateDeclSpecialization() 383 Visit(Redecl); in writeTemplateDeclSpecialization()
|
| H A D | ASTNodeTraverser.h | 486 auto *Redecl = dyn_cast<SpecializationDecl>(RedeclWithBadType); in dumpTemplateDeclSpecialization() local 487 if (!Redecl) { in dumpTemplateDeclSpecialization() 495 Visit(Redecl); in dumpTemplateDeclSpecialization()
|
| H A D | ASTContext.h | 2821 const ObjCMethodDecl *Redecl);
|
| /netbsd-src/external/apache2/llvm/dist/clang/lib/Sema/ |
| H A D | SemaAvailability.cpp | 343 for (const Decl *Redecl = OffendingDecl->getMostRecentDecl(); Redecl; in DoEmitAvailabilityWarning() local 344 Redecl = Redecl->getPreviousDecl()) { in DoEmitAvailabilityWarning() 346 getAttrForPlatform(S.Context, Redecl); in DoEmitAvailabilityWarning() 350 NoteLocation = Redecl->getLocation(); in DoEmitAvailabilityWarning()
|
| H A D | SemaAttr.cpp | 104 for (Decl *Redecl : Record->redecls()) in addGslOwnerPointerAttributeIfNotExisting() 105 Redecl->addAttr(Attribute::CreateImplicit(Context, /*DerefType=*/nullptr)); in addGslOwnerPointerAttributeIfNotExisting()
|
| H A D | SemaLookup.cpp | 1620 for (auto *Redecl : D->redecls()) { in hasVisibleDeclarationImpl() local 1621 auto *R = cast<NamedDecl>(Redecl); in hasVisibleDeclarationImpl() 3025 RedeclarationKind Redecl) { in LookupSingleName() argument 3026 LookupResult R(*this, Name, Loc, NameKind, Redecl); in LookupSingleName() 3034 RedeclarationKind Redecl) { in LookupProtocol() argument 3036 LookupObjCProtocolName, Redecl); in LookupProtocol()
|
| H A D | SemaExceptionSpec.cpp | 245 for (FunctionDecl *Redecl : FD->redecls()) in UpdateExceptionSpec() 246 Context.adjustExceptionSpec(Redecl, ESI); in UpdateExceptionSpec()
|
| H A D | SemaExprMember.cpp | 696 Sema::RedeclarationKind Redecl; in LookupMemberExprInRecord() member 718 LookupResult R(Q.SemaRef, Q.NameInfo, Q.LookupKind, Q.Redecl); in LookupMemberExprInRecord()
|
| H A D | SemaType.cpp | 8444 for (auto *Redecl : ED->redecls()) { in hasVisibleDefinition() local 8445 if (isVisible(Redecl)) in hasVisibleDefinition() 8447 if (Redecl->isThisDeclarationADefinition() || in hasVisibleDefinition() 8448 (Redecl->isCanonicalDecl() && !*Suggested)) in hasVisibleDefinition() 8449 *Suggested = Redecl; in hasVisibleDefinition()
|
| H A D | SemaDecl.cpp | 15388 const TagDecl *Redecl = PrevDef ? PrevDef : Previous; in isAcceptableTagRedeclaration() local 15389 if (Redecl->getTagKind() != NewTag) { in isAcceptableTagRedeclaration() 15393 Diag(Redecl->getLocation(), diag::note_previous_use); in isAcceptableTagRedeclaration() 15398 << getRedeclDiagFromTagKind(Redecl->getTagKind()) in isAcceptableTagRedeclaration() 15400 TypeWithKeyword::getTagTypeKindName(Redecl->getTagKind())); in isAcceptableTagRedeclaration() 15587 RedeclarationKind Redecl = forRedeclarationInCurContext(); in ActOnTag() local 15589 Redecl = NotForRedeclaration; in ActOnTag() 15640 LookupResult Previous(*this, Name, NameLoc, LookupTagName, Redecl); in ActOnTag()
|
| H A D | SemaDeclAttr.cpp | 4661 for (Decl *Redecl : D->redecls()) { in handleLifetimeCategoryAttr() 4662 Redecl->addAttr(::new (S.Context) OwnerAttr(S.Context, AL, DerefTypeLoc)); in handleLifetimeCategoryAttr() 4678 for (Decl *Redecl : D->redecls()) { in handleLifetimeCategoryAttr() 4679 Redecl->addAttr(::new (S.Context) in handleLifetimeCategoryAttr()
|
| H A D | SemaExprObjC.cpp | 3852 for (auto *Redecl : RT->getDecl()->getMostRecentDecl()->redecls()) { in getObjCBridgeAttr() local 3853 if (auto *attr = Redecl->getAttr<T>()) in getObjCBridgeAttr()
|
| /netbsd-src/external/apache2/llvm/dist/clang/lib/CodeGen/ |
| H A D | CodeGenModule.cpp | 1806 auto CheckRedeclForInline = [](const FunctionDecl *Redecl) { in SetLLVMFunctionAttributesForDefinition() argument 1807 return Redecl->isInlineSpecified(); in SetLLVMFunctionAttributesForDefinition()
|
| /netbsd-src/external/apache2/llvm/dist/clang/docs/ |
| H A D | InternalsManual.rst | 2185 .. Redecl chains of other declarations
|