diff options
| author | Chris Lattner <sabre@nondot.org> | 2007-10-09 03:40:30 +0000 |
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2007-10-09 03:40:30 +0000 |
| commit | 5c50f596908ed27eda4820f6f645fb43adab0cd1 (patch) | |
| tree | ff72a1fb6a20f76677135d1201799cfb5ced906d | |
| parent | 66d9572cedc5ac26dfc321ce63c398dfb35cdebc (diff) | |
| download | bcm5719-llvm-5c50f596908ed27eda4820f6f645fb43adab0cd1.tar.gz bcm5719-llvm-5c50f596908ed27eda4820f6f645fb43adab0cd1.zip | |
Change a #include into a forward declaration
llvm-svn: 42781
| -rw-r--r-- | llvm/include/llvm/ADT/FoldingSet.h | 2 | ||||
| -rw-r--r-- | llvm/lib/Support/FoldingSet.cpp | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/llvm/include/llvm/ADT/FoldingSet.h b/llvm/include/llvm/ADT/FoldingSet.h index 6f486512e54..c567895594b 100644 --- a/llvm/include/llvm/ADT/FoldingSet.h +++ b/llvm/include/llvm/ADT/FoldingSet.h @@ -18,10 +18,10 @@ #include "llvm/Support/DataTypes.h" #include "llvm/ADT/SmallVector.h" -#include "llvm/ADT/APFloat.h" #include <string> namespace llvm { + class APFloat; /// This folding set used for two purposes: /// 1. Given information about a node we want to create, look up the unique diff --git a/llvm/lib/Support/FoldingSet.cpp b/llvm/lib/Support/FoldingSet.cpp index d099d90fe24..059b780565b 100644 --- a/llvm/lib/Support/FoldingSet.cpp +++ b/llvm/lib/Support/FoldingSet.cpp @@ -15,6 +15,7 @@ //===----------------------------------------------------------------------===// #include "llvm/ADT/FoldingSet.h" +#include "llvm/ADT/APFloat.h" #include "llvm/Support/MathExtras.h" #include <cassert> using namespace llvm; |

