Searched refs:ExistingAttr (Results 1 – 3 of 3) sorted by relevance
262 if (const auto *ExistingAttr = FD->getAttr<WebAssemblyImportModuleAttr>()) { in mergeImportModuleAttr() local263 if (ExistingAttr->getImportModule() == AL.getImportModule()) in mergeImportModuleAttr()265 Diag(ExistingAttr->getLocation(), diag::warn_mismatched_import) in mergeImportModuleAttr()266 << 0 << ExistingAttr->getImportModule() << AL.getImportModule(); in mergeImportModuleAttr()282 if (const auto *ExistingAttr = FD->getAttr<WebAssemblyImportNameAttr>()) { in mergeImportNameAttr() local283 if (ExistingAttr->getImportName() == AL.getImportName()) in mergeImportNameAttr()285 Diag(ExistingAttr->getLocation(), diag::warn_mismatched_import) in mergeImportNameAttr()286 << 1 << ExistingAttr->getImportName() << AL.getImportName(); in mergeImportNameAttr()
1242 if (const auto *ExistingAttr = D->getAttr<ArmNewAttr>()) { in handleNewAttr() local1243 for (StringRef S : ExistingAttr->newArgs()) in handleNewAttr()
3106 if (SectionAttr *ExistingAttr = D->getAttr<SectionAttr>()) { in mergeSectionAttr() local3107 if (ExistingAttr->getName() == Name) in mergeSectionAttr()3109 Diag(ExistingAttr->getLocation(), diag::warn_mismatched_section) in mergeSectionAttr()3231 if (const auto *ExistingAttr = D->getAttr<CodeSegAttr>()) { in mergeCodeSegAttr() local3232 if (ExistingAttr->getName() == Name) in mergeCodeSegAttr()3234 Diag(ExistingAttr->getLocation(), diag::warn_mismatched_section) in mergeCodeSegAttr()3249 if (const auto *ExistingAttr = D->getAttr<CodeSegAttr>()) { in handleCodeSegAttr() local3250 if (!ExistingAttr->isImplicit()) { in handleCodeSegAttr()3252 ExistingAttr->getName() == Str in handleCodeSegAttr()