Files
swift-mirror/test/ClangImporter/Inputs/custom-modules/CommonName.h
Nuri Amari 3762ca1fa7 Attach Lazy ClangImporter Diagnostics as Notes
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.
2022-01-29 14:32:42 -05:00

6 lines
76 B
C

struct MyStruct {
int _Complex commonName;
};
_Complex int commonName();