diff options
author | Chandler Carruth <chandlerc@gmail.com> | 2014-03-04 10:30:26 +0000 |
---|---|---|
committer | Chandler Carruth <chandlerc@gmail.com> | 2014-03-04 10:30:26 +0000 |
commit | 8394857f4330653e59d3fb5b7f784a63a00afab3 (patch) | |
tree | 24ecca3b8d7608067a73f0226444556660e2c944 /llvm/lib/Transforms/IPO/FunctionAttrs.cpp | |
parent | 975b02ad715bd5ec22d02acc55e37f89d922b1e7 (diff) | |
download | bcm5719-llvm-8394857f4330653e59d3fb5b7f784a63a00afab3.tar.gz bcm5719-llvm-8394857f4330653e59d3fb5b7f784a63a00afab3.zip |
[Modules] Move InstIterator out of the Support library, where it had no
business.
This header includes Function and BasicBlock and directly uses the
interfaces of both classes. It has to do with the IR, it even has that
in the name. =] Put it in the library it belongs to.
This is one step toward making LLVM's Support library survive a C++
modules bootstrap.
llvm-svn: 202814
Diffstat (limited to 'llvm/lib/Transforms/IPO/FunctionAttrs.cpp')
-rw-r--r-- | llvm/lib/Transforms/IPO/FunctionAttrs.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Transforms/IPO/FunctionAttrs.cpp b/llvm/lib/Transforms/IPO/FunctionAttrs.cpp index 5ff55b0169e..45bb488cf6b 100644 --- a/llvm/lib/Transforms/IPO/FunctionAttrs.cpp +++ b/llvm/lib/Transforms/IPO/FunctionAttrs.cpp @@ -29,9 +29,9 @@ #include "llvm/Analysis/CallGraphSCCPass.h" #include "llvm/Analysis/CaptureTracking.h" #include "llvm/IR/GlobalVariable.h" +#include "llvm/IR/InstIterator.h" #include "llvm/IR/IntrinsicInst.h" #include "llvm/IR/LLVMContext.h" -#include "llvm/Support/InstIterator.h" #include "llvm/Target/TargetLibraryInfo.h" using namespace llvm; |