Searched refs:ExistingAttr (Results 1 – 3 of 3) sorted by relevance
249 if (const auto *ExistingAttr = FD->getAttr<WebAssemblyImportModuleAttr>()) { in mergeImportModuleAttr() local250 if (ExistingAttr->getImportModule() == AL.getImportModule()) in mergeImportModuleAttr()252 Diag(ExistingAttr->getLocation(), diag::warn_mismatched_import) in mergeImportModuleAttr()253 << 0 << ExistingAttr->getImportModule() << AL.getImportModule(); in mergeImportModuleAttr()269 if (const auto *ExistingAttr = FD->getAttr<WebAssemblyImportNameAttr>()) { in mergeImportNameAttr() local270 if (ExistingAttr->getImportName() == AL.getImportName()) in mergeImportNameAttr()272 Diag(ExistingAttr->getLocation(), diag::warn_mismatched_import) in mergeImportNameAttr()273 << 1 << ExistingAttr->getImportName() << AL.getImportName(); in mergeImportNameAttr()
1250 if (const auto *ExistingAttr = D->getAttr<ArmNewAttr>()) { in handleNewAttr() local1251 for (StringRef S : ExistingAttr->newArgs()) in handleNewAttr()
2828 if (SectionAttr *ExistingAttr = D->getAttr<SectionAttr>()) { in mergeSectionAttr() local2829 if (ExistingAttr->getName() == Name) in mergeSectionAttr()2831 Diag(ExistingAttr->getLocation(), diag::warn_mismatched_section) in mergeSectionAttr()2919 if (const auto *ExistingAttr = D->getAttr<CodeSegAttr>()) { in mergeCodeSegAttr() local2920 if (ExistingAttr->getName() == Name) in mergeCodeSegAttr()2922 Diag(ExistingAttr->getLocation(), diag::warn_mismatched_section) in mergeCodeSegAttr()2937 if (const auto *ExistingAttr = D->getAttr<CodeSegAttr>()) { in handleCodeSegAttr() local2938 if (!ExistingAttr->isImplicit()) { in handleCodeSegAttr()2940 ExistingAttr->getName() == Str in handleCodeSegAttr()