mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
[interop][SwiftToCxx] avoid importing C++ stdlib in C++ section of generated header inside of 'pragma clang attribute' block
This commit is contained in:
@@ -92,6 +92,9 @@
|
||||
|
||||
// CHECK-LABEL: #if defined(__OBJC__)
|
||||
// CHECK-NEXT: #endif
|
||||
// CHECK-NEXT: #if __has_attribute(external_source_symbol)
|
||||
// CHECK-NEXT: # pragma clang attribute pop
|
||||
// CHECK-NEXT: #endif
|
||||
// CHECK-NEXT: #if defined(__cplusplus)
|
||||
// CHECK-NEXT: #pragma clang diagnostic push
|
||||
// CHECK-NEXT: #pragma clang diagnostic ignored "-Wnon-modular-include-in-framework-module"
|
||||
|
||||
Reference in New Issue
Block a user