Home
last modified time | relevance | path

Searched refs:ExistingAttr (Results 1 – 3 of 3) sorted by relevance

/freebsd-14-stable/contrib/llvm-project/clang/lib/Sema/
HDSemaWasm.cpp249 if (const auto *ExistingAttr = FD->getAttr<WebAssemblyImportModuleAttr>()) { in mergeImportModuleAttr() local
250 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() local
270 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()
HDSemaARM.cpp1250 if (const auto *ExistingAttr = D->getAttr<ArmNewAttr>()) { in handleNewAttr() local
1251 for (StringRef S : ExistingAttr->newArgs()) in handleNewAttr()
HDSemaDeclAttr.cpp2828 if (SectionAttr *ExistingAttr = D->getAttr<SectionAttr>()) { in mergeSectionAttr() local
2829 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() local
2920 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() local
2938 if (!ExistingAttr->isImplicit()) { in handleCodeSegAttr()
2940 ExistingAttr->getName() == Str in handleCodeSegAttr()