File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 22
22
namespace llvm {
23
23
// / A simple null object to allow implicit construction of std::optional<T>
24
24
// / and similar types without having to spell out the specialization's name.
25
- #ifndef SWIFT_TARGET // radar://112153764 -- remove once swift transitions
25
+ #if !defined( SWIFT_TARGET) && !defined(LLDB_ENABLE_SWIFT) // radar://112153764 -- remove once swift transitions
26
26
LLVM_DEPRECATED (" Use std::nullopt_t instead" , " std::nullopt_t" )
27
27
#endif // SWIFT_TARGET
28
28
typedef std::nullopt_t NoneType;
29
29
30
- #ifndef SWIFT_TARGET // radar://112153764 -- remove once swift transitions
30
+ #if !defined( SWIFT_TARGET) && !defined(LLDB_ENABLE_SWIFT) // radar://112153764 -- remove once swift transitions
31
31
LLVM_DEPRECATED (" Use std::nullopt instead." , " std::nullopt" )
32
32
#endif // SWIFT_TARGET
33
33
inline constexpr std::nullopt_t None = std::nullopt;
You can’t perform that action at this time.
0 commit comments