diff options
author | Reid Spencer <rspencer@reidspencer.com> | 2006-07-26 16:18:00 +0000 |
---|---|---|
committer | Reid Spencer <rspencer@reidspencer.com> | 2006-07-26 16:18:00 +0000 |
commit | 7107c3badfe78ec89dcab6c02cf1b1bcaccc42a8 (patch) | |
tree | 9ef4b2b152223b366915fdfd0a572f2c7ef7f9cb /lib/Support/IsNAN.cpp | |
parent | 8884060a258729fadcfbd7433082e50c25291f8a (diff) |
For PR780:
1. Move IncludeFile.h to System library
2. Move IncludeFile.cpp to System library
3. #1 and #2 required to prevent cyclic library dependencies for libSystem
4. Convert all existing uses of Support/IncludeFile.h to System/IncludeFile.h
5. Add IncludeFile support to various lib/System classes.
6. Add new lib/System classes to LinkAllVMCore.h
All this in an attempt to pull in lib/System to what's required for VMCore
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29287 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Support/IsNAN.cpp')
-rw-r--r-- | lib/Support/IsNAN.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/Support/IsNAN.cpp b/lib/Support/IsNAN.cpp index 2ed2b284c7..5ed3971254 100644 --- a/lib/Support/IsNAN.cpp +++ b/lib/Support/IsNAN.cpp @@ -12,6 +12,8 @@ //===----------------------------------------------------------------------===// #include "llvm/Config/config.h" +#include "llvm/System/IncludeFile.h" + #if HAVE_ISNAN_IN_MATH_H # include <math.h> #elif HAVE_ISNAN_IN_CMATH @@ -32,3 +34,5 @@ int IsNAN (float f) { return isnan (f); } int IsNAN (double d) { return isnan (d); } } // end namespace llvm; + +DEFINING_FILE_FOR(SupportIsNAN) |