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/IR/Function.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/IR/Function.cpp')
-rw-r--r-- | llvm/lib/IR/Function.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/IR/Function.cpp b/llvm/lib/IR/Function.cpp index c1fa3720e3f..1990dd86692 100644 --- a/llvm/lib/IR/Function.cpp +++ b/llvm/lib/IR/Function.cpp @@ -19,11 +19,11 @@ #include "llvm/ADT/StringExtras.h" #include "llvm/CodeGen/ValueTypes.h" #include "llvm/IR/DerivedTypes.h" +#include "llvm/IR/InstIterator.h" #include "llvm/IR/IntrinsicInst.h" #include "llvm/IR/LLVMContext.h" #include "llvm/IR/Module.h" #include "llvm/Support/CallSite.h" -#include "llvm/Support/InstIterator.h" #include "llvm/Support/LeakDetector.h" #include "llvm/Support/ManagedStatic.h" #include "llvm/Support/RWMutex.h" |