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 34
34
35
35
// Don't pre-declare certain LLVM types in the runtime, which must
36
36
// 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)
40
38
#define SWIFT_LLVM_ODR_SAFE 0
39
+ #else
40
+ #define SWIFT_LLVM_ODR_SAFE 1
41
41
#endif
42
42
43
43
// Forward declarations.
Original file line number Diff line number Diff line change @@ -1983,7 +1983,7 @@ class ReflectionContext
1983
1983
std::set<std::pair<const TypeRef *, const MetadataSource *>> Done;
1984
1984
GenericArgumentMap Subs;
1985
1985
1986
- ArrayRef<const TypeRef *> CaptureTypes = Info.CaptureTypes ;
1986
+ llvm:: ArrayRef<const TypeRef *> CaptureTypes = Info.CaptureTypes ;
1987
1987
1988
1988
// Closure context element layout depends on the layout of the
1989
1989
// captured types, but captured types might depend on element
You can’t perform that action at this time.
0 commit comments