aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/Utils/ModuleUtils.cpp
diff options
context:
space:
mode:
authorElliot Goodrich <elliotgoodrich@gmail.com>2023-06-17 13:18:23 +0100
committerElliot Goodrich <elliotgoodrich@gmail.com>2023-07-08 10:19:07 +0100
commit39d8e6e22cd192db6ace37a4c842265058dcddb8 (patch)
tree263d31ae7a6f53755416933dd29c5b89e2a129c3 /llvm/lib/Transforms/Utils/ModuleUtils.cpp
parent23f0f061c399a51b9c846a7aaab1c15ce039e1a3 (diff)
downloadllvm-39d8e6e22cd192db6ace37a4c842265058dcddb8.zip
llvm-39d8e6e22cd192db6ace37a4c842265058dcddb8.tar.gz
llvm-39d8e6e22cd192db6ace37a4c842265058dcddb8.tar.bz2
Add missing StringExtras.h includes
In preparation for removing the `#include "llvm/ADT/StringExtras.h"` from the header to source file of `llvm/Support/Error.h`, first add in all the missing includes that were previously included transitively through this header. This is fixing all files missed in b0abd4893fa1. Differential Revision: https://reviews.llvm.org/D154543
Diffstat (limited to 'llvm/lib/Transforms/Utils/ModuleUtils.cpp')
-rw-r--r--llvm/lib/Transforms/Utils/ModuleUtils.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/lib/Transforms/Utils/ModuleUtils.cpp b/llvm/lib/Transforms/Utils/ModuleUtils.cpp
index adc2fc0..ecd64d8 100644
--- a/llvm/lib/Transforms/Utils/ModuleUtils.cpp
+++ b/llvm/lib/Transforms/Utils/ModuleUtils.cpp
@@ -12,6 +12,7 @@
#include "llvm/Transforms/Utils/ModuleUtils.h"
#include "llvm/Analysis/VectorUtils.h"
+#include "llvm/ADT/SmallString.h"
#include "llvm/IR/DerivedTypes.h"
#include "llvm/IR/Function.h"
#include "llvm/IR/IRBuilder.h"
@@ -19,6 +20,7 @@
#include "llvm/IR/Module.h"
#include "llvm/Support/raw_ostream.h"
#include "llvm/Support/xxhash.h"
+
using namespace llvm;
#define DEBUG_TYPE "moduleutils"