Lines Matching refs:FoundDecl
2386 for (auto *FoundDecl : FoundDecls) { in VisitNamespaceDecl() local
2387 if (!FoundDecl->isInIdentifierNamespace(Decl::IDNS_Namespace)) in VisitNamespaceDecl()
2390 if (auto *FoundNS = dyn_cast<NamespaceDecl>(FoundDecl)) { in VisitNamespaceDecl()
2396 ConflictingDecls.push_back(FoundDecl); in VisitNamespaceDecl()
2511 for (auto *FoundDecl : FoundDecls) { in VisitTypedefNameDecl() local
2512 if (!FoundDecl->isInIdentifierNamespace(IDNS)) in VisitTypedefNameDecl()
2514 if (auto *FoundTypedef = dyn_cast<TypedefNameDecl>(FoundDecl)) { in VisitTypedefNameDecl()
2528 ConflictingDecls.push_back(FoundDecl); in VisitTypedefNameDecl()
2609 for (auto *FoundDecl : FoundDecls) { in VisitTypeAliasTemplateDecl() local
2610 if (!FoundDecl->isInIdentifierNamespace(IDNS)) in VisitTypeAliasTemplateDecl()
2612 if (auto *FoundAlias = dyn_cast<TypeAliasTemplateDecl>(FoundDecl)) in VisitTypeAliasTemplateDecl()
2614 ConflictingDecls.push_back(FoundDecl); in VisitTypeAliasTemplateDecl()
2715 for (auto *FoundDecl : FoundDecls) { in VisitEnumDecl() local
2716 if (!FoundDecl->isInIdentifierNamespace(IDNS)) in VisitEnumDecl()
2719 if (auto *Typedef = dyn_cast<TypedefNameDecl>(FoundDecl)) { in VisitEnumDecl()
2721 FoundDecl = Tag->getDecl(); in VisitEnumDecl()
2724 if (auto *FoundEnum = dyn_cast<EnumDecl>(FoundDecl)) { in VisitEnumDecl()
2734 ConflictingDecls.push_back(FoundDecl); in VisitEnumDecl()
2836 for (auto *FoundDecl : FoundDecls) { in VisitRecordDecl() local
2837 if (!FoundDecl->isInIdentifierNamespace(IDNS)) in VisitRecordDecl()
2840 Decl *Found = FoundDecl; in VisitRecordDecl()
2883 ConflictingDecls.push_back(FoundDecl); in VisitRecordDecl()
3049 for (auto *FoundDecl : FoundDecls) { in VisitEnumConstantDecl() local
3050 if (!FoundDecl->isInIdentifierNamespace(IDNS)) in VisitEnumConstantDecl()
3053 if (auto *FoundEnumConstant = dyn_cast<EnumConstantDecl>(FoundDecl)) { in VisitEnumConstantDecl()
3056 ConflictingDecls.push_back(FoundDecl); in VisitEnumConstantDecl()
3360 for (auto *FoundDecl : FoundDecls) { in VisitFunctionDecl() local
3361 if (!FoundDecl->isInIdentifierNamespace(IDNS)) in VisitFunctionDecl()
3364 if (auto *FoundFunction = dyn_cast<FunctionDecl>(FoundDecl)) { in VisitFunctionDecl()
3386 ConflictingDecls.push_back(FoundDecl); in VisitFunctionDecl()
3716 for (auto *FoundDecl : FoundDecls) { in VisitFieldDecl() local
3717 if (FieldDecl *FoundField = dyn_cast<FieldDecl>(FoundDecl)) { in VisitFieldDecl()
4006 for (auto *FoundDecl : FoundDecls) { in VisitObjCIvarDecl() local
4007 if (ObjCIvarDecl *FoundIvar = dyn_cast<ObjCIvarDecl>(FoundDecl)) { in VisitObjCIvarDecl()
4074 for (auto *FoundDecl : FoundDecls) { in VisitVarDecl() local
4075 if (!FoundDecl->isInIdentifierNamespace(IDNS)) in VisitVarDecl()
4078 if (auto *FoundVar = dyn_cast<VarDecl>(FoundDecl)) { in VisitVarDecl()
4129 ConflictingDecls.push_back(FoundDecl); in VisitVarDecl()
4312 for (auto *FoundDecl : FoundDecls) { in VisitObjCMethodDecl() local
4313 if (auto *FoundMethod = dyn_cast<ObjCMethodDecl>(FoundDecl)) { in VisitObjCMethodDecl()
4623 for (auto *FoundDecl : FoundDecls) { in VisitObjCProtocolDecl() local
4624 if (!FoundDecl->isInIdentifierNamespace(Decl::IDNS_ObjCProtocol)) in VisitObjCProtocolDecl()
4627 if ((MergeWithProtocol = dyn_cast<ObjCProtocolDecl>(FoundDecl))) in VisitObjCProtocolDecl()
5146 for (auto *FoundDecl : FoundDecls) { in VisitObjCInterfaceDecl() local
5147 if (!FoundDecl->isInIdentifierNamespace(Decl::IDNS_Ordinary)) in VisitObjCInterfaceDecl()
5150 if ((MergeWithIface = dyn_cast<ObjCInterfaceDecl>(FoundDecl))) in VisitObjCInterfaceDecl()
5319 for (auto *FoundDecl : FoundDecls) { in VisitObjCPropertyDecl() local
5320 if (auto *FoundProp = dyn_cast<ObjCPropertyDecl>(FoundDecl)) { in VisitObjCPropertyDecl()
5623 for (auto *FoundDecl : FoundDecls) { in VisitClassTemplateDecl() local
5624 if (!FoundDecl->isInIdentifierNamespace(Decl::IDNS_Ordinary | in VisitClassTemplateDecl()
5628 Decl *Found = FoundDecl; in VisitClassTemplateDecl()
5645 ConflictingDecls.push_back(FoundDecl); in VisitClassTemplateDecl()
5909 for (auto *FoundDecl : FoundDecls) { in VisitVarTemplateDecl() local
5910 if (!FoundDecl->isInIdentifierNamespace(Decl::IDNS_Ordinary)) in VisitVarTemplateDecl()
5913 if (VarTemplateDecl *FoundTemplate = dyn_cast<VarTemplateDecl>(FoundDecl)) { in VisitVarTemplateDecl()
5930 ConflictingDecls.push_back(FoundDecl); in VisitVarTemplateDecl()
6162 for (auto *FoundDecl : FoundDecls) { in VisitFunctionTemplateDecl() local
6163 if (!FoundDecl->isInIdentifierNamespace(IDNS)) in VisitFunctionTemplateDecl()
6166 if (auto *FoundTemplate = dyn_cast<FunctionTemplateDecl>(FoundDecl)) { in VisitFunctionTemplateDecl()