Skip to content

Commit adc4a41

Browse files
Fix module build after removing None.h from STLExtras.h
Add declaration for NoneType in BitcodeConvenience.h.
1 parent fe51631 commit adc4a41

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

llvm/include/llvm/Bitcode/BitcodeConvenience.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,8 @@
3535
#include <cstdint>
3636

3737
namespace llvm {
38+
typedef std::nullopt_t NoneType;
39+
3840
namespace detail {
3941
/// Convenience base for all kinds of bitcode abbreviation fields.
4042
///

0 commit comments

Comments
 (0)