Skip to content

Commit

Permalink
[NFC] Add optional include to Format.h
Browse files Browse the repository at this point in the history
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
  • Loading branch information
etcwilde committed Jul 9, 2023
1 parent 643b7bc commit 0f9f951
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions llvm/include/llvm/Support/Format.h
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
#include "llvm/Support/DataTypes.h"
#include <cassert>
#include <cstdio>
#include <optional>
#include <tuple>
#include <utility>

Expand Down

0 comments on commit 0f9f951

Please sign in to comment.