summaryrefslogtreecommitdiff
path: root/include/llvm/Support/MathExtras.h
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2006-07-26 16:18:00 +0000
committerReid Spencer <rspencer@reidspencer.com>2006-07-26 16:18:00 +0000
commit7107c3badfe78ec89dcab6c02cf1b1bcaccc42a8 (patch)
tree9ef4b2b152223b366915fdfd0a572f2c7ef7f9cb /include/llvm/Support/MathExtras.h
parent8884060a258729fadcfbd7433082e50c25291f8a (diff)
downloadllvm-7107c3badfe78ec89dcab6c02cf1b1bcaccc42a8.tar.gz
llvm-7107c3badfe78ec89dcab6c02cf1b1bcaccc42a8.tar.bz2
llvm-7107c3badfe78ec89dcab6c02cf1b1bcaccc42a8.tar.xz
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 'include/llvm/Support/MathExtras.h')
-rw-r--r--include/llvm/Support/MathExtras.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/llvm/Support/MathExtras.h b/include/llvm/Support/MathExtras.h
index 0f5961ff73..228d35ceff 100644
--- a/include/llvm/Support/MathExtras.h
+++ b/include/llvm/Support/MathExtras.h
@@ -15,6 +15,7 @@
#define LLVM_SUPPORT_MATHEXTRAS_H
#include "llvm/Support/DataTypes.h"
+#include "llvm/System/IncludeFile.h"
namespace llvm {
@@ -306,4 +307,7 @@ int IsInf (double d);
} // End llvm namespace
+FORCE_DEFINING_FILE_TO_BE_LINKED(SupportIsInf)
+FORCE_DEFINING_FILE_TO_BE_LINKED(SupportIsNAN)
+
#endif