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 | 876ac60880843f37c25ec03e46eb73b8e197e971 (patch) | |
tree | e1198bd7b3fdff09a7adc7af42885d2cefd0dbc1 /unittests/Analysis | |
parent | 1decd56b8dec415b9d2270d636226b9fdb0b9c25 (diff) | |
download | llvm-876ac60880843f37c25ec03e46eb73b8e197e971.tar.gz llvm-876ac60880843f37c25ec03e46eb73b8e197e971.tar.bz2 llvm-876ac60880843f37c25ec03e46eb73b8e197e971.tar.xz |
[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.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@202814 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'unittests/Analysis')
-rw-r--r-- | unittests/Analysis/CFGTest.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/unittests/Analysis/CFGTest.cpp b/unittests/Analysis/CFGTest.cpp index ab7e0a4ac0..bc029e3786 100644 --- a/unittests/Analysis/CFGTest.cpp +++ b/unittests/Analysis/CFGTest.cpp @@ -13,12 +13,12 @@ #include "llvm/AsmParser/Parser.h" #include "llvm/IR/Dominators.h" #include "llvm/IR/Function.h" +#include "llvm/IR/InstIterator.h" #include "llvm/IR/LLVMContext.h" #include "llvm/IR/Module.h" #include "llvm/Pass.h" #include "llvm/PassManager.h" #include "llvm/Support/ErrorHandling.h" -#include "llvm/Support/InstIterator.h" #include "llvm/Support/SourceMgr.h" #include "gtest/gtest.h" |