From 28fdaaed4aa5dcb273f8d9cb77dddceb472f1f1d Mon Sep 17 00:00:00 2001 From: Thomas Preud'homme Date: Thu, 8 Aug 2019 13:56:59 +0000 Subject: [PATCH] [FileCheck] Add missing includes in header Reviewers: jhenderson, chandlerc, jdenny, probinson, grimar, arichardson, rnk Subscribers: hiraditya, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D65778 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@368297 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/Support/FileCheck.h | 6 +++++- lib/Support/FileCheck.cpp | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/include/llvm/Support/FileCheck.h b/include/llvm/Support/FileCheck.h index dfe7513ac98..944ca1d1b4a 100644 --- a/include/llvm/Support/FileCheck.h +++ b/include/llvm/Support/FileCheck.h @@ -13,12 +13,16 @@ #ifndef LLVM_SUPPORT_FILECHECK_H #define LLVM_SUPPORT_FILECHECK_H +#include "llvm/ADT/Optional.h" #include "llvm/ADT/StringMap.h" +#include "llvm/ADT/StringRef.h" +#include "llvm/Support/Error.h" #include "llvm/Support/MemoryBuffer.h" #include "llvm/Support/Regex.h" #include "llvm/Support/SourceMgr.h" -#include #include +#include +#include namespace llvm { diff --git a/lib/Support/FileCheck.cpp b/lib/Support/FileCheck.cpp index db023152302..16a04bc627d 100644 --- a/lib/Support/FileCheck.cpp +++ b/lib/Support/FileCheck.cpp @@ -15,10 +15,10 @@ #include "llvm/Support/FileCheck.h" #include "llvm/ADT/StringSet.h" +#include "llvm/ADT/Twine.h" #include "llvm/Support/FormatVariadic.h" #include #include -#include #include #include -- 2.40.0