From 0dc98b49a6464d057d3e8c7ebb7a60b8acc25137 Mon Sep 17 00:00:00 2001 From: Simon Pilgrim Date: Mon, 19 Apr 2021 14:51:57 +0100 Subject: [PATCH] [Analysis] ImportedFunctionsInliningStatistics.h - add and remove unused include. NFCI. Move include to ImportedFunctionsInliningStatistics.cpp and add missing include as we have explicit uses of std::unique_ptr in the header. --- .../llvm/Analysis/Utils/ImportedFunctionsInliningStatistics.h | 2 +- lib/Analysis/ImportedFunctionsInliningStatistics.cpp | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/include/llvm/Analysis/Utils/ImportedFunctionsInliningStatistics.h b/include/llvm/Analysis/Utils/ImportedFunctionsInliningStatistics.h index a06224bbd03..45ef4dbe215 100644 --- a/include/llvm/Analysis/Utils/ImportedFunctionsInliningStatistics.h +++ b/include/llvm/Analysis/Utils/ImportedFunctionsInliningStatistics.h @@ -15,7 +15,7 @@ #include "llvm/ADT/SmallVector.h" #include "llvm/ADT/StringMap.h" #include "llvm/ADT/StringRef.h" -#include +#include #include namespace llvm { diff --git a/lib/Analysis/ImportedFunctionsInliningStatistics.cpp b/lib/Analysis/ImportedFunctionsInliningStatistics.cpp index a7b5fda237d..48eeb87ac8b 100644 --- a/lib/Analysis/ImportedFunctionsInliningStatistics.cpp +++ b/lib/Analysis/ImportedFunctionsInliningStatistics.cpp @@ -19,6 +19,8 @@ #include #include #include +#include + using namespace llvm; cl::opt InlinerFunctionImportStats(