Lines Matching defs:FoundDecl

2649     for (auto *FoundDecl : FoundDecls) {
2650 if (!FoundDecl->isInIdentifierNamespace(Decl::IDNS_Namespace))
2653 if (auto *FoundNS = dyn_cast<NamespaceDecl>(FoundDecl)) {
2659 ConflictingDecls.push_back(FoundDecl);
2774 for (auto *FoundDecl : FoundDecls) {
2775 if (!FoundDecl->isInIdentifierNamespace(IDNS))
2777 if (auto *FoundTypedef = dyn_cast<TypedefNameDecl>(FoundDecl)) {
2807 ConflictingDecls.push_back(FoundDecl);
2888 for (auto *FoundDecl : FoundDecls) {
2889 if (!FoundDecl->isInIdentifierNamespace(IDNS))
2891 if (auto *FoundAlias = dyn_cast<TypeAliasTemplateDecl>(FoundDecl)) {
2894 ConflictingDecls.push_back(FoundDecl);
2996 for (auto *FoundDecl : FoundDecls) {
2997 if (!FoundDecl->isInIdentifierNamespace(IDNS))
3000 if (auto *Typedef = dyn_cast<TypedefNameDecl>(FoundDecl)) {
3002 FoundDecl = Tag->getDecl();
3005 if (auto *FoundEnum = dyn_cast<EnumDecl>(FoundDecl)) {
3015 ConflictingDecls.push_back(FoundDecl);
3126 for (auto *FoundDecl : FoundDecls) {
3127 if (!FoundDecl->isInIdentifierNamespace(IDNS))
3130 Decl *Found = FoundDecl;
3174 ConflictingDecls.push_back(FoundDecl);
3351 for (auto *FoundDecl : FoundDecls) {
3352 if (!FoundDecl->isInIdentifierNamespace(IDNS))
3355 if (auto *FoundEnumConstant = dyn_cast<EnumConstantDecl>(FoundDecl)) {
3358 ConflictingDecls.push_back(FoundDecl);
3802 for (auto *FoundDecl : FoundDecls) {
3803 if (!FoundDecl->isInIdentifierNamespace(IDNS))
3806 if (auto *FoundFunction = dyn_cast<FunctionDecl>(FoundDecl)) {
3828 ConflictingDecls.push_back(FoundDecl);
4177 for (auto *FoundDecl : FoundDecls) {
4178 if (FieldDecl *FoundField = dyn_cast<FieldDecl>(FoundDecl)) {
4465 for (auto *FoundDecl : FoundDecls) {
4466 if (ObjCIvarDecl *FoundIvar = dyn_cast<ObjCIvarDecl>(FoundDecl)) {
4533 for (auto *FoundDecl : FoundDecls) {
4534 if (!FoundDecl->isInIdentifierNamespace(IDNS))
4537 if (auto *FoundVar = dyn_cast<VarDecl>(FoundDecl)) {
4588 ConflictingDecls.push_back(FoundDecl);
4792 for (auto *FoundDecl : FoundDecls) {
4793 if (auto *FoundMethod = dyn_cast<ObjCMethodDecl>(FoundDecl)) {
5108 for (auto *FoundDecl : FoundDecls) {
5109 if (!FoundDecl->isInIdentifierNamespace(Decl::IDNS_ObjCProtocol))
5112 if ((MergeWithProtocol = dyn_cast<ObjCProtocolDecl>(FoundDecl)))
5635 for (auto *FoundDecl : FoundDecls) {
5636 if (!FoundDecl->isInIdentifierNamespace(Decl::IDNS_Ordinary))
5639 if ((MergeWithIface = dyn_cast<ObjCInterfaceDecl>(FoundDecl)))
5808 for (auto *FoundDecl : FoundDecls) {
5809 if (auto *FoundProp = dyn_cast<ObjCPropertyDecl>(FoundDecl)) {
6096 for (auto *FoundDecl : FoundDecls) {
6097 if (!FoundDecl->isInIdentifierNamespace(Decl::IDNS_Ordinary |
6101 auto *FoundTemplate = dyn_cast<ClassTemplateDecl>(FoundDecl);
6138 ConflictingDecls.push_back(FoundDecl);
6431 for (auto *FoundDecl : FoundDecls) {
6432 if (!FoundDecl->isInIdentifierNamespace(Decl::IDNS_Ordinary))
6435 if (VarTemplateDecl *FoundTemplate = dyn_cast<VarTemplateDecl>(FoundDecl)) {
6459 ConflictingDecls.push_back(FoundDecl);
6708 for (auto *FoundDecl : FoundDecls) {
6709 if (!FoundDecl->isInIdentifierNamespace(IDNS))
6712 if (auto *FoundTemplate = dyn_cast<FunctionTemplateDecl>(FoundDecl)) {