summaryrefslogtreecommitdiffstats
path: root/llvm/lib/IR/Function.cpp
diff options
context:
space:
mode:
authorVedant Kumar <vsk@apple.com>2016-08-09 23:14:37 +0000
committerVedant Kumar <vsk@apple.com>2016-08-09 23:14:37 +0000
commit809fe6ca309faa514526fb34c44737cfa4c6a0b8 (patch)
tree2b93117c563b4cb2430c78a9e989bef5c8a004e2 /llvm/lib/IR/Function.cpp
parentf343968f5d87a91e020a5baf03c280ce7aa9cdb1 (diff)
downloadbcm5719-llvm-809fe6ca309faa514526fb34c44737cfa4c6a0b8.tar.gz
bcm5719-llvm-809fe6ca309faa514526fb34c44737cfa4c6a0b8.zip
[IR] Remove some unused #includes (NFC)
I needed a reader-writer lock for a downstream project and noticed that llvm has one. Function.cpp is the only file in-tree that refers to it. To anyone reading this: are you using RWMutex in out-of-tree code? Maybe it's not worth keeping around any more... Since we're not actually using RWMutex *here*, remove the #include (and a few other stale headers while we're at it). llvm-svn: 278178
Diffstat (limited to 'llvm/lib/IR/Function.cpp')
-rw-r--r--llvm/lib/IR/Function.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/llvm/lib/IR/Function.cpp b/llvm/lib/IR/Function.cpp
index d7baa987b5c..d82e1492966 100644
--- a/llvm/lib/IR/Function.cpp
+++ b/llvm/lib/IR/Function.cpp
@@ -26,10 +26,6 @@
#include "llvm/IR/MDBuilder.h"
#include "llvm/IR/Metadata.h"
#include "llvm/IR/Module.h"
-#include "llvm/Support/ManagedStatic.h"
-#include "llvm/Support/RWMutex.h"
-#include "llvm/Support/StringPool.h"
-#include "llvm/Support/Threading.h"
using namespace llvm;
// Explicit instantiations of SymbolTableListTraits since some of the methods
OpenPOWER on IntegriCloud