aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--include/llvm/ADT/FoldingSet.h2
-rw-r--r--lib/Support/FoldingSet.cpp1
2 files changed, 2 insertions, 1 deletions
diff --git a/include/llvm/ADT/FoldingSet.h b/include/llvm/ADT/FoldingSet.h
index 6f48651..c567895 100644
--- a/include/llvm/ADT/FoldingSet.h
+++ b/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/lib/Support/FoldingSet.cpp b/lib/Support/FoldingSet.cpp
index d099d90..059b780 100644
--- a/lib/Support/FoldingSet.cpp
+++ b/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;