mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Optional: Replace uses of Nothing with None.
llvm::Optional (like Swift.Optional!) uses None as its placeholder value, not Nothing. Swift SVN r22476
This commit is contained in:
@@ -208,7 +208,7 @@ public:
|
||||
/// the module are marked as fragile. This is used for compiling the stdlib.
|
||||
static std::unique_ptr<SILModule>
|
||||
constructSIL(Module *M, SourceFile *sf = nullptr,
|
||||
Optional<unsigned> startElem = Nothing,
|
||||
Optional<unsigned> startElem = None,
|
||||
bool makeModuleFragile = false);
|
||||
|
||||
/// \brief Create and return an empty SIL module that we can
|
||||
|
||||
Reference in New Issue
Block a user