1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-22 02:33:06 +01:00

[Analysis] ImportedFunctionsInliningStatistics.h - add <memory> and remove unused <string> include. NFCI.

Move <string> include to ImportedFunctionsInliningStatistics.cpp and add missing <memory> include as we have explicit uses of std::unique_ptr in the header.
This commit is contained in:
Simon Pilgrim 2021-04-19 14:51:57 +01:00
parent 5bff24c7f4
commit 0dc98b49a6
2 changed files with 3 additions and 1 deletions

View File

@ -15,7 +15,7 @@
#include "llvm/ADT/SmallVector.h" #include "llvm/ADT/SmallVector.h"
#include "llvm/ADT/StringMap.h" #include "llvm/ADT/StringMap.h"
#include "llvm/ADT/StringRef.h" #include "llvm/ADT/StringRef.h"
#include <string> #include <memory>
#include <vector> #include <vector>
namespace llvm { namespace llvm {

View File

@ -19,6 +19,8 @@
#include <algorithm> #include <algorithm>
#include <iomanip> #include <iomanip>
#include <sstream> #include <sstream>
#include <string>
using namespace llvm; using namespace llvm;
cl::opt<InlinerFunctionImportStatsOpts> InlinerFunctionImportStats( cl::opt<InlinerFunctionImportStatsOpts> InlinerFunctionImportStats(