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:
Jordan Rose
2014-10-02 18:51:42 +00:00
parent 24720ab462
commit 042569a3be
81 changed files with 273 additions and 269 deletions

View File

@@ -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