File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 3434
3535// Don't pre-declare certain LLVM types in the runtime, which must
3636// not put things in namespace llvm for ODR reasons.
37- #if !defined(swiftCore_EXPORTS)
38- #define SWIFT_LLVM_ODR_SAFE 1
39- #else
37+ #if defined(SWIFT_RUNTIME)
4038#define SWIFT_LLVM_ODR_SAFE 0
39+ #else
40+ #define SWIFT_LLVM_ODR_SAFE 1
4141#endif
4242
4343// Forward declarations.
Original file line number Diff line number Diff line change @@ -1983,7 +1983,7 @@ class ReflectionContext
19831983 std::set<std::pair<const TypeRef *, const MetadataSource *>> Done;
19841984 GenericArgumentMap Subs;
19851985
1986- ArrayRef<const TypeRef *> CaptureTypes = Info.CaptureTypes ;
1986+ llvm:: ArrayRef<const TypeRef *> CaptureTypes = Info.CaptureTypes ;
19871987
19881988 // Closure context element layout depends on the layout of the
19891989 // captured types, but captured types might depend on element
You can’t perform that action at this time.
0 commit comments