Skip to content

Commit 0f9f951

Browse files
committed
[NFC] Add optional include to Format.h
Format.h uses std::optional but doesn't include the optional header resulting in a build failure due to a missing 'optional' type. Reviewed By: compnerd, mib Differential Revision: https://reviews.llvm.org/D154664
1 parent 643b7bc commit 0f9f951

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

llvm/include/llvm/Support/Format.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@
2828
#include "llvm/Support/DataTypes.h"
2929
#include <cassert>
3030
#include <cstdio>
31+
#include <optional>
3132
#include <tuple>
3233
#include <utility>
3334

0 commit comments

Comments
 (0)