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 2222namespace llvm {
2323// / A simple null object to allow implicit construction of std::optional<T>
2424// / 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
2626LLVM_DEPRECATED (" Use std::nullopt_t instead" , " std::nullopt_t" )
2727#endif // SWIFT_TARGET
2828typedef std::nullopt_t NoneType;
2929
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
3131LLVM_DEPRECATED (" Use std::nullopt instead." , " std::nullopt" )
3232#endif // SWIFT_TARGET
3333inline constexpr std::nullopt_t None = std::nullopt ;
You can’t perform that action at this time.
0 commit comments