Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaWasm.cpp262 if (const auto *ExistingAttr = FD->getAttr<WebAssemblyImportModuleAttr>()) { in mergeImportModuleAttr() local
263 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() local
283 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()
H A DSemaARM.cpp1242 if (const auto *ExistingAttr = D->getAttr<ArmNewAttr>()) { in handleNewAttr() local
1243 for (StringRef S : ExistingAttr->newArgs()) in handleNewAttr()
H A DSemaDeclAttr.cpp3106 if (SectionAttr *ExistingAttr = D->getAttr<SectionAttr>()) { in mergeSectionAttr() local
3107 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() local
3232 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() local
3250 if (!ExistingAttr->isImplicit()) { in handleCodeSegAttr()
3252 ExistingAttr->getName() == Str in handleCodeSegAttr()