Lines Matching defs:FoundDecl

2593     for (auto *FoundDecl : FoundDecls) {
2594 if (!FoundDecl->isInIdentifierNamespace(Decl::IDNS_Namespace))
2597 if (auto *FoundNS = dyn_cast<NamespaceDecl>(FoundDecl)) {
2603 ConflictingDecls.push_back(FoundDecl);
2718 for (auto *FoundDecl : FoundDecls) {
2719 if (!FoundDecl->isInIdentifierNamespace(IDNS))
2721 if (auto *FoundTypedef = dyn_cast<TypedefNameDecl>(FoundDecl)) {
2751 ConflictingDecls.push_back(FoundDecl);
2832 for (auto *FoundDecl : FoundDecls) {
2833 if (!FoundDecl->isInIdentifierNamespace(IDNS))
2835 if (auto *FoundAlias = dyn_cast<TypeAliasTemplateDecl>(FoundDecl)) {
2838 ConflictingDecls.push_back(FoundDecl);
2940 for (auto *FoundDecl : FoundDecls) {
2941 if (!FoundDecl->isInIdentifierNamespace(IDNS))
2944 if (auto *Typedef = dyn_cast<TypedefNameDecl>(FoundDecl)) {
2946 FoundDecl = Tag->getDecl();
2949 if (auto *FoundEnum = dyn_cast<EnumDecl>(FoundDecl)) {
2959 ConflictingDecls.push_back(FoundDecl);
3070 for (auto *FoundDecl : FoundDecls) {
3071 if (!FoundDecl->isInIdentifierNamespace(IDNS))
3074 Decl *Found = FoundDecl;
3117 ConflictingDecls.push_back(FoundDecl);
3294 for (auto *FoundDecl : FoundDecls) {
3295 if (!FoundDecl->isInIdentifierNamespace(IDNS))
3298 if (auto *FoundEnumConstant = dyn_cast<EnumConstantDecl>(FoundDecl)) {
3301 ConflictingDecls.push_back(FoundDecl);
3747 for (auto *FoundDecl : FoundDecls) {
3748 if (!FoundDecl->isInIdentifierNamespace(IDNS))
3751 if (auto *FoundFunction = dyn_cast<FunctionDecl>(FoundDecl)) {
3773 ConflictingDecls.push_back(FoundDecl);
4120 for (auto *FoundDecl : FoundDecls) {
4121 if (FieldDecl *FoundField = dyn_cast<FieldDecl>(FoundDecl)) {
4411 for (auto *FoundDecl : FoundDecls) {
4412 if (ObjCIvarDecl *FoundIvar = dyn_cast<ObjCIvarDecl>(FoundDecl)) {
4479 for (auto *FoundDecl : FoundDecls) {
4480 if (!FoundDecl->isInIdentifierNamespace(IDNS))
4483 if (auto *FoundVar = dyn_cast<VarDecl>(FoundDecl)) {
4534 ConflictingDecls.push_back(FoundDecl);
4734 for (auto *FoundDecl : FoundDecls) {
4735 if (auto *FoundMethod = dyn_cast<ObjCMethodDecl>(FoundDecl)) {
5050 for (auto *FoundDecl : FoundDecls) {
5051 if (!FoundDecl->isInIdentifierNamespace(Decl::IDNS_ObjCProtocol))
5054 if ((MergeWithProtocol = dyn_cast<ObjCProtocolDecl>(FoundDecl)))
5574 for (auto *FoundDecl : FoundDecls) {
5575 if (!FoundDecl->isInIdentifierNamespace(Decl::IDNS_Ordinary))
5578 if ((MergeWithIface = dyn_cast<ObjCInterfaceDecl>(FoundDecl)))
5747 for (auto *FoundDecl : FoundDecls) {
5748 if (auto *FoundProp = dyn_cast<ObjCPropertyDecl>(FoundDecl)) {
6049 for (auto *FoundDecl : FoundDecls) {
6050 if (!FoundDecl->isInIdentifierNamespace(Decl::IDNS_Ordinary |
6054 Decl *Found = FoundDecl;
6079 ConflictingDecls.push_back(FoundDecl);
6372 for (auto *FoundDecl : FoundDecls) {
6373 if (!FoundDecl->isInIdentifierNamespace(Decl::IDNS_Ordinary))
6376 if (VarTemplateDecl *FoundTemplate = dyn_cast<VarTemplateDecl>(FoundDecl)) {
6400 ConflictingDecls.push_back(FoundDecl);
6649 for (auto *FoundDecl : FoundDecls) {
6650 if (!FoundDecl->isInIdentifierNamespace(IDNS))
6653 if (auto *FoundTemplate = dyn_cast<FunctionTemplateDecl>(FoundDecl)) {