File tree Expand file tree Collapse file tree 1 file changed +0
-5
lines changed
clang/include/clang/Basic Expand file tree Collapse file tree 1 file changed +0
-5
lines changed Original file line number Diff line number Diff line change 19
19
// dependencies.
20
20
// Casting.h has complex templates that cannot be easily forward declared.
21
21
#include " llvm/Support/Casting.h"
22
- // None.h includes an enumerator that is desired & cannot be forward declared
23
- // without a definition of NoneType.
24
- #include " llvm/ADT/None.h"
25
22
// Add this header as a workaround to prevent `too few template arguments for
26
23
// class template 'SmallVector'` building error with build compilers like XL.
27
24
#include " llvm/ADT/SmallVector.h"
@@ -37,7 +34,6 @@ namespace llvm {
37
34
template <unsigned InternalLen> class SmallString ;
38
35
template <typename T, unsigned N> class SmallVector ;
39
36
template <typename T> class SmallVectorImpl ;
40
- template <typename T> using Optional = std::optional<T>;
41
37
template <class T > class Expected ;
42
38
43
39
template <typename T>
@@ -69,7 +65,6 @@ namespace clang {
69
65
// ADT's.
70
66
using llvm::ArrayRef;
71
67
using llvm::MutableArrayRef;
72
- using llvm::Optional;
73
68
using llvm::OwningArrayRef;
74
69
using llvm::SaveAndRestore;
75
70
using llvm::SmallString;
You can’t perform that action at this time.
0 commit comments