Lines Matching refs:ExistingAttr
3274 if (SectionAttr *ExistingAttr = D->getAttr<SectionAttr>()) { in mergeSectionAttr() local
3275 if (ExistingAttr->getName() == Name) in mergeSectionAttr()
3277 Diag(ExistingAttr->getLocation(), diag::warn_mismatched_section) in mergeSectionAttr()
3358 if (const auto *ExistingAttr = D->getAttr<CodeSegAttr>()) { in mergeCodeSegAttr() local
3359 if (ExistingAttr->getName() == Name) in mergeCodeSegAttr()
3361 Diag(ExistingAttr->getLocation(), diag::warn_mismatched_section) in mergeCodeSegAttr()
3376 if (const auto *ExistingAttr = D->getAttr<CodeSegAttr>()) { in handleCodeSegAttr() local
3377 if (!ExistingAttr->isImplicit()) { in handleCodeSegAttr()
3379 ExistingAttr->getName() == Str in handleCodeSegAttr()
7322 if (const auto *ExistingAttr = FD->getAttr<WebAssemblyImportModuleAttr>()) { in mergeImportModuleAttr() local
7323 if (ExistingAttr->getImportModule() == AL.getImportModule()) in mergeImportModuleAttr()
7325 Diag(ExistingAttr->getLocation(), diag::warn_mismatched_import) << 0 in mergeImportModuleAttr()
7326 << ExistingAttr->getImportModule() << AL.getImportModule(); in mergeImportModuleAttr()
7342 if (const auto *ExistingAttr = FD->getAttr<WebAssemblyImportNameAttr>()) { in mergeImportNameAttr() local
7343 if (ExistingAttr->getImportName() == AL.getImportName()) in mergeImportNameAttr()
7345 Diag(ExistingAttr->getLocation(), diag::warn_mismatched_import) << 1 in mergeImportNameAttr()
7346 << ExistingAttr->getImportName() << AL.getImportName(); in mergeImportNameAttr()