Lines Matching refs:FoundDecl
2380 for (auto *FoundDecl : FoundDecls) { in VisitNamespaceDecl() local
2381 if (!FoundDecl->isInIdentifierNamespace(Decl::IDNS_Namespace)) in VisitNamespaceDecl()
2384 if (auto *FoundNS = dyn_cast<NamespaceDecl>(FoundDecl)) { in VisitNamespaceDecl()
2390 ConflictingDecls.push_back(FoundDecl); in VisitNamespaceDecl()
2505 for (auto *FoundDecl : FoundDecls) { in VisitTypedefNameDecl() local
2506 if (!FoundDecl->isInIdentifierNamespace(IDNS)) in VisitTypedefNameDecl()
2508 if (auto *FoundTypedef = dyn_cast<TypedefNameDecl>(FoundDecl)) { in VisitTypedefNameDecl()
2522 ConflictingDecls.push_back(FoundDecl); in VisitTypedefNameDecl()
2603 for (auto *FoundDecl : FoundDecls) { in VisitTypeAliasTemplateDecl() local
2604 if (!FoundDecl->isInIdentifierNamespace(IDNS)) in VisitTypeAliasTemplateDecl()
2606 if (auto *FoundAlias = dyn_cast<TypeAliasTemplateDecl>(FoundDecl)) in VisitTypeAliasTemplateDecl()
2608 ConflictingDecls.push_back(FoundDecl); in VisitTypeAliasTemplateDecl()
2709 for (auto *FoundDecl : FoundDecls) { in VisitEnumDecl() local
2710 if (!FoundDecl->isInIdentifierNamespace(IDNS)) in VisitEnumDecl()
2713 if (auto *Typedef = dyn_cast<TypedefNameDecl>(FoundDecl)) { in VisitEnumDecl()
2715 FoundDecl = Tag->getDecl(); in VisitEnumDecl()
2718 if (auto *FoundEnum = dyn_cast<EnumDecl>(FoundDecl)) { in VisitEnumDecl()
2728 ConflictingDecls.push_back(FoundDecl); in VisitEnumDecl()
2830 for (auto *FoundDecl : FoundDecls) { in VisitRecordDecl() local
2831 if (!FoundDecl->isInIdentifierNamespace(IDNS)) in VisitRecordDecl()
2834 Decl *Found = FoundDecl; in VisitRecordDecl()
2877 ConflictingDecls.push_back(FoundDecl); in VisitRecordDecl()
3043 for (auto *FoundDecl : FoundDecls) { in VisitEnumConstantDecl() local
3044 if (!FoundDecl->isInIdentifierNamespace(IDNS)) in VisitEnumConstantDecl()
3047 if (auto *FoundEnumConstant = dyn_cast<EnumConstantDecl>(FoundDecl)) { in VisitEnumConstantDecl()
3050 ConflictingDecls.push_back(FoundDecl); in VisitEnumConstantDecl()
3466 for (auto *FoundDecl : FoundDecls) { in VisitFunctionDecl() local
3467 if (!FoundDecl->isInIdentifierNamespace(IDNS)) in VisitFunctionDecl()
3470 if (auto *FoundFunction = dyn_cast<FunctionDecl>(FoundDecl)) { in VisitFunctionDecl()
3492 ConflictingDecls.push_back(FoundDecl); in VisitFunctionDecl()
3826 for (auto *FoundDecl : FoundDecls) { in VisitFieldDecl() local
3827 if (FieldDecl *FoundField = dyn_cast<FieldDecl>(FoundDecl)) { in VisitFieldDecl()
4116 for (auto *FoundDecl : FoundDecls) { in VisitObjCIvarDecl() local
4117 if (ObjCIvarDecl *FoundIvar = dyn_cast<ObjCIvarDecl>(FoundDecl)) { in VisitObjCIvarDecl()
4184 for (auto *FoundDecl : FoundDecls) { in VisitVarDecl() local
4185 if (!FoundDecl->isInIdentifierNamespace(IDNS)) in VisitVarDecl()
4188 if (auto *FoundVar = dyn_cast<VarDecl>(FoundDecl)) { in VisitVarDecl()
4239 ConflictingDecls.push_back(FoundDecl); in VisitVarDecl()
4422 for (auto *FoundDecl : FoundDecls) { in VisitObjCMethodDecl() local
4423 if (auto *FoundMethod = dyn_cast<ObjCMethodDecl>(FoundDecl)) { in VisitObjCMethodDecl()
4733 for (auto *FoundDecl : FoundDecls) { in VisitObjCProtocolDecl() local
4734 if (!FoundDecl->isInIdentifierNamespace(Decl::IDNS_ObjCProtocol)) in VisitObjCProtocolDecl()
4737 if ((MergeWithProtocol = dyn_cast<ObjCProtocolDecl>(FoundDecl))) in VisitObjCProtocolDecl()
5257 for (auto *FoundDecl : FoundDecls) { in VisitObjCInterfaceDecl() local
5258 if (!FoundDecl->isInIdentifierNamespace(Decl::IDNS_Ordinary)) in VisitObjCInterfaceDecl()
5261 if ((MergeWithIface = dyn_cast<ObjCInterfaceDecl>(FoundDecl))) in VisitObjCInterfaceDecl()
5430 for (auto *FoundDecl : FoundDecls) { in VisitObjCPropertyDecl() local
5431 if (auto *FoundProp = dyn_cast<ObjCPropertyDecl>(FoundDecl)) { in VisitObjCPropertyDecl()
5734 for (auto *FoundDecl : FoundDecls) { in VisitClassTemplateDecl() local
5735 if (!FoundDecl->isInIdentifierNamespace(Decl::IDNS_Ordinary | in VisitClassTemplateDecl()
5739 Decl *Found = FoundDecl; in VisitClassTemplateDecl()
5756 ConflictingDecls.push_back(FoundDecl); in VisitClassTemplateDecl()
6044 for (auto *FoundDecl : FoundDecls) { in VisitVarTemplateDecl() local
6045 if (!FoundDecl->isInIdentifierNamespace(Decl::IDNS_Ordinary)) in VisitVarTemplateDecl()
6048 if (VarTemplateDecl *FoundTemplate = dyn_cast<VarTemplateDecl>(FoundDecl)) { in VisitVarTemplateDecl()
6065 ConflictingDecls.push_back(FoundDecl); in VisitVarTemplateDecl()
6298 for (auto *FoundDecl : FoundDecls) { in VisitFunctionTemplateDecl() local
6299 if (!FoundDecl->isInIdentifierNamespace(IDNS)) in VisitFunctionTemplateDecl()
6302 if (auto *FoundTemplate = dyn_cast<FunctionTemplateDecl>(FoundDecl)) { in VisitFunctionTemplateDecl()