Remove the "swift/Basic/Optional.h" header.

llvm::Optional lives in "llvm/ADT/Optional.h". Like Clang, we can get
Optional in the 'swift' namespace by including "swift/Basic/LLVM.h".

We're now fully switched over to llvm::Optional!

Swift SVN r22477
This commit is contained in:
Jordan Rose
2014-10-02 18:51:45 +00:00
parent 042569a3be
commit 3fcdfd40e9
46 changed files with 25 additions and 83 deletions

View File

@@ -13,7 +13,6 @@
#ifndef SWIFT_SILANALYSIS_VALUETRACKING_H
#define SWIFT_SILANALYSIS_VALUETRACKING_H
#include "swift/Basic/Optional.h"
#include "swift/SIL/SILInstruction.h"
namespace swift {