[llvm-commits] [llvm] r42781 - in /llvm/trunk: include/llvm/ADT/FoldingSet.h lib/Support/FoldingSet.cpp
Chris Lattner
sabre at nondot.org
Mon Oct 8 20:40:32 PDT 2007
Author: lattner
Date: Mon Oct 8 22:40:30 2007
New Revision: 42781
URL: http://llvm.org/viewvc/llvm-project?rev=42781&view=rev
Log:
Change a #include into a forward declaration
Modified:
llvm/trunk/include/llvm/ADT/FoldingSet.h
llvm/trunk/lib/Support/FoldingSet.cpp
Modified: llvm/trunk/include/llvm/ADT/FoldingSet.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/ADT/FoldingSet.h?rev=42781&r1=42780&r2=42781&view=diff
==============================================================================
--- llvm/trunk/include/llvm/ADT/FoldingSet.h (original)
+++ llvm/trunk/include/llvm/ADT/FoldingSet.h Mon Oct 8 22:40:30 2007
@@ -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
Modified: llvm/trunk/lib/Support/FoldingSet.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Support/FoldingSet.cpp?rev=42781&r1=42780&r2=42781&view=diff
==============================================================================
--- llvm/trunk/lib/Support/FoldingSet.cpp (original)
+++ llvm/trunk/lib/Support/FoldingSet.cpp Mon Oct 8 22:40:30 2007
@@ -15,6 +15,7 @@
//===----------------------------------------------------------------------===//
#include "llvm/ADT/FoldingSet.h"
+#include "llvm/ADT/APFloat.h"
#include "llvm/Support/MathExtras.h"
#include <cassert>
using namespace llvm;
More information about the llvm-commits
mailing list