Change a #include into a forward declaration
authorChris Lattner <sabre@nondot.org>
Tue, 9 Oct 2007 03:40:30 +0000 (03:40 +0000)
committerChris Lattner <sabre@nondot.org>
Tue, 9 Oct 2007 03:40:30 +0000 (03:40 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@42781 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/ADT/FoldingSet.h
lib/Support/FoldingSet.cpp

index 6f486512e540e4389a75d587f0cae7806c14545f..c567895594b5663f19a1c0d6794fdce5f308877f 100644 (file)
 
 #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
index d099d90fe243c0a2700bf934c408ba846b30991d..059b780565b703786f803253a270dd98c6aca728 100644 (file)
@@ -15,6 +15,7 @@
 //===----------------------------------------------------------------------===//
 
 #include "llvm/ADT/FoldingSet.h"
+#include "llvm/ADT/APFloat.h"
 #include "llvm/Support/MathExtras.h"
 #include <cassert>
 using namespace llvm;