# Imported Clang Declaration Warnings (`ClangDeclarationImport`)


This diagnostic group covers all warnings related to malformed APIs that are imported into Swift from C, C++, and Obj-C headers.

As one example of a potential malformed API diagnostic, suppose a Clang module dependency contained the following declaration:

```
typedef int NotificationIdentifier
    __attribute__((swift_name("Notification.Identifier")))
```

The Swift compiler would emit the following warning if no type named `Notification` could be found:

```
warning: imported declaration 'NotificationIdentifier' could not be mapped to 'Notification.Identifier’
```
