Skip to content

Commit 1604b03

Browse files
authored
Merge pull request #7058 from etcwilde/ewilde/add-missing-headers
Add missing headers
2 parents c02bda5 + 0723a8f commit 1604b03

File tree

3 files changed

+4
-0
lines changed

3 files changed

+4
-0
lines changed

clang/lib/Frontend/CachedDiagnostics.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
#include "llvm/Support/EndianStream.h"
2626
#include "llvm/Support/StringSaver.h"
2727
#include "llvm/Support/YAMLTraits.h"
28+
#include <variant>
2829

2930
using namespace clang;
3031
using namespace clang::cas;

clang/lib/Frontend/CachedDiagnostics.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@
1111

1212
#include "clang/Basic/LLVM.h"
1313
#include "llvm/Support/PrefixMapper.h"
14+
#include <memory>
15+
#include <optional>
1416

1517
namespace clang {
1618
class DiagnosticConsumer;

llvm/include/llvm/TargetParser/SubtargetFeature.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
#include "llvm/ADT/ArrayRef.h"
2121
#include "llvm/ADT/STLExtras.h"
2222
#include "llvm/ADT/StringRef.h"
23+
#include "llvm/ADT/bit.h"
2324
#include "llvm/Support/MathExtras.h"
2425
#include <array>
2526
#include <initializer_list>

0 commit comments

Comments
 (0)