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 /lib/Transforms/Instrumentation/GCOVProfiling.cpp | |
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 'lib/Transforms/Instrumentation/GCOVProfiling.cpp')
-rw-r--r-- | lib/Transforms/Instrumentation/GCOVProfiling.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Transforms/Instrumentation/GCOVProfiling.cpp b/lib/Transforms/Instrumentation/GCOVProfiling.cpp index 95d1fb4722..9c84c5c394 100644 --- a/lib/Transforms/Instrumentation/GCOVProfiling.cpp +++ b/lib/Transforms/Instrumentation/GCOVProfiling.cpp @@ -26,6 +26,7 @@ #include "llvm/ADT/UniqueVector.h" #include "llvm/DebugInfo.h" #include "llvm/IR/IRBuilder.h" +#include "llvm/IR/InstIterator.h" #include "llvm/IR/Instructions.h" #include "llvm/IR/IntrinsicInst.h" #include "llvm/IR/Module.h" @@ -34,7 +35,6 @@ #include "llvm/Support/Debug.h" #include "llvm/Support/DebugLoc.h" #include "llvm/Support/FileSystem.h" -#include "llvm/Support/InstIterator.h" #include "llvm/Support/Path.h" #include "llvm/Support/raw_ostream.h" #include "llvm/Transforms/Utils/ModuleUtils.h" |