summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Support
diff options
context:
space:
mode:
authorReid Kleckner <rnk@google.com>2019-11-13 16:28:12 -0800
committerReid Kleckner <rnk@google.com>2019-11-13 16:34:00 -0800
commita36f316390d4bc1bcb0e9de0f55831385ab24099 (patch)
treeacaf5758e37bde43cde2485f5c9819d2d6fe2944 /llvm/lib/Support
parentaf7d4022c77d851e9569ec3ded6038616a6622d0 (diff)
downloadbcm5719-llvm-a36f316390d4bc1bcb0e9de0f55831385ab24099.tar.gz
bcm5719-llvm-a36f316390d4bc1bcb0e9de0f55831385ab24099.zip
Forward declare Optional<T> in STLExtras.h
WIP stats
Diffstat (limited to 'llvm/lib/Support')
-rw-r--r--llvm/lib/Support/CrashRecoveryContext.cpp1
-rw-r--r--llvm/lib/Support/DJB.cpp1
2 files changed, 2 insertions, 0 deletions
diff --git a/llvm/lib/Support/CrashRecoveryContext.cpp b/llvm/lib/Support/CrashRecoveryContext.cpp
index a9e0fcc73b9..4af627e3254 100644
--- a/llvm/lib/Support/CrashRecoveryContext.cpp
+++ b/llvm/lib/Support/CrashRecoveryContext.cpp
@@ -7,6 +7,7 @@
//===----------------------------------------------------------------------===//
#include "llvm/Support/CrashRecoveryContext.h"
+#include "llvm/ADT/Optional.h"
#include "llvm/Config/llvm-config.h"
#include "llvm/Support/ErrorHandling.h"
#include "llvm/Support/ManagedStatic.h"
diff --git a/llvm/lib/Support/DJB.cpp b/llvm/lib/Support/DJB.cpp
index f06af7dfde4..d4f68ff8ae2 100644
--- a/llvm/lib/Support/DJB.cpp
+++ b/llvm/lib/Support/DJB.cpp
@@ -12,6 +12,7 @@
#include "llvm/Support/DJB.h"
#include "llvm/ADT/ArrayRef.h"
+#include "llvm/ADT/Optional.h"
#include "llvm/Support/Compiler.h"
#include "llvm/Support/ConvertUTF.h"
#include "llvm/Support/Unicode.h"
OpenPOWER on IntegriCloud