diff options
| author | Reid Kleckner <rnk@google.com> | 2019-11-13 16:28:12 -0800 |
|---|---|---|
| committer | Reid Kleckner <rnk@google.com> | 2019-11-13 16:34:00 -0800 |
| commit | a36f316390d4bc1bcb0e9de0f55831385ab24099 (patch) | |
| tree | acaf5758e37bde43cde2485f5c9819d2d6fe2944 /llvm/lib | |
| parent | af7d4022c77d851e9569ec3ded6038616a6622d0 (diff) | |
| download | bcm5719-llvm-a36f316390d4bc1bcb0e9de0f55831385ab24099.tar.gz bcm5719-llvm-a36f316390d4bc1bcb0e9de0f55831385ab24099.zip | |
Forward declare Optional<T> in STLExtras.h
WIP stats
Diffstat (limited to 'llvm/lib')
| -rw-r--r-- | llvm/lib/MC/MCInstrAnalysis.cpp | 2 | ||||
| -rw-r--r-- | llvm/lib/Support/CrashRecoveryContext.cpp | 1 | ||||
| -rw-r--r-- | llvm/lib/Support/DJB.cpp | 1 |
3 files changed, 3 insertions, 1 deletions
diff --git a/llvm/lib/MC/MCInstrAnalysis.cpp b/llvm/lib/MC/MCInstrAnalysis.cpp index 54741fdd686..5e0c09f49fb 100644 --- a/llvm/lib/MC/MCInstrAnalysis.cpp +++ b/llvm/lib/MC/MCInstrAnalysis.cpp @@ -7,8 +7,8 @@ //===----------------------------------------------------------------------===// #include "llvm/MC/MCInstrAnalysis.h" - #include "llvm/ADT/APInt.h" +#include "llvm/ADT/Optional.h" #include "llvm/MC/MCInst.h" #include "llvm/MC/MCInstrDesc.h" #include "llvm/MC/MCInstrInfo.h" 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" |

