diff options
author | Owen Anderson <resistor@mac.com> | 2010-09-13 18:47:42 +0000 |
---|---|---|
committer | Owen Anderson <resistor@mac.com> | 2010-09-13 18:47:42 +0000 |
commit | 049e42f0b4547eb1afad4e4ce708d110408957e4 (patch) | |
tree | 98bc7a48514fbd8c1b8ad692f205e9fd5f862591 | |
parent | 1a56e083e7ee7cc05afe02eff40a45858cd9adda (diff) | |
download | external_llvm-049e42f0b4547eb1afad4e4ce708d110408957e4.zip external_llvm-049e42f0b4547eb1afad4e4ce708d110408957e4.tar.gz external_llvm-049e42f0b4547eb1afad4e4ce708d110408957e4.tar.bz2 |
Minimize #includes in a top-level header.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@113772 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | include/llvm/PassRegistry.h | 3 | ||||
-rw-r--r-- | lib/VMCore/PassRegistry.cpp | 1 |
2 files changed, 2 insertions, 2 deletions
diff --git a/include/llvm/PassRegistry.h b/include/llvm/PassRegistry.h index fa269a9..31d48a4 100644 --- a/include/llvm/PassRegistry.h +++ b/include/llvm/PassRegistry.h @@ -17,8 +17,7 @@ #ifndef LLVM_PASSREGISTRY_H #define LLVM_PASSREGISTRY_H -#include "llvm/ADT/StringMap.h" -#include "llvm/System/DataTypes.h" +#include "llvm/ADT/StringRef.h" namespace llvm { diff --git a/lib/VMCore/PassRegistry.cpp b/lib/VMCore/PassRegistry.cpp index 9196d42..c6dc921 100644 --- a/lib/VMCore/PassRegistry.cpp +++ b/lib/VMCore/PassRegistry.cpp @@ -18,6 +18,7 @@ #include "llvm/Support/ManagedStatic.h" #include "llvm/ADT/DenseMap.h" #include "llvm/ADT/SmallPtrSet.h" +#include "llvm/ADT/StringMap.h" #include <vector> using namespace llvm; |