mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Clang importer diagnostics that are produced as a result of a reference in Swift code are attached to as notes to the Sema produced diagnostic that indicates the declaration is unavailable. Ex: Notes about why a C function import failed are attached to the error explaining that the symbol could not be found in scope.
6 lines
76 B
C
6 lines
76 B
C
struct MyStruct {
|
|
int _Complex commonName;
|
|
};
|
|
|
|
_Complex int commonName();
|