mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Merge remote-tracking branch 'origin/main' into rebranch
This commit is contained in:
@@ -178,4 +178,11 @@
|
||||
#define SWIFT_VFORMAT(fmt)
|
||||
#endif
|
||||
|
||||
// Tells Swift's ClangImporter to import a C++ type as a foreign reference type.
|
||||
#if __has_attribute(swift_attr)
|
||||
#define SWIFT_IMPORT_REFERENCE __attribute__((swift_attr("import_as_ref")))
|
||||
#else
|
||||
#define SWIFT_IMPORT_REFERENCE
|
||||
#endif
|
||||
|
||||
#endif // SWIFT_BASIC_COMPILER_H
|
||||
|
||||
Reference in New Issue
Block a user