summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Support/IsNAN.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2006-08-11 23:52:54 +0000
committerChris Lattner <sabre@nondot.org>2006-08-11 23:52:54 +0000
commit5425637481e5813a13e46c57c63f696ff120ef70 (patch)
treee47d7a80d2ce81278ab3b80b1293fa7d9e504883 /llvm/lib/Support/IsNAN.cpp
parent854b5c7c4042d3c9ccf59e65ec5324ff56974e72 (diff)
downloadbcm5719-llvm-5425637481e5813a13e46c57c63f696ff120ef70.tar.gz
bcm5719-llvm-5425637481e5813a13e46c57c63f696ff120ef70.zip
remove IncludeFile turds in MathExtras.h, which bloats every .o file that
#includes it. llvm-svn: 29639
Diffstat (limited to 'llvm/lib/Support/IsNAN.cpp')
-rw-r--r--llvm/lib/Support/IsNAN.cpp9
1 files changed, 2 insertions, 7 deletions
diff --git a/llvm/lib/Support/IsNAN.cpp b/llvm/lib/Support/IsNAN.cpp
index 5ed3971254b..4e6c849fbb4 100644
--- a/llvm/lib/Support/IsNAN.cpp
+++ b/llvm/lib/Support/IsNAN.cpp
@@ -12,7 +12,6 @@
//===----------------------------------------------------------------------===//
#include "llvm/Config/config.h"
-#include "llvm/System/IncludeFile.h"
#if HAVE_ISNAN_IN_MATH_H
# include <math.h>
@@ -29,10 +28,6 @@ using std::isnan;
#endif
namespace llvm {
-
-int IsNAN (float f) { return isnan (f); }
-int IsNAN (double d) { return isnan (d); }
-
+ int IsNAN(float f) { return isnan(f); }
+ int IsNAN(double d) { return isnan(d); }
} // end namespace llvm;
-
-DEFINING_FILE_FOR(SupportIsNAN)
OpenPOWER on IntegriCloud