summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAaron Ballman <aaron@aaronballman.com>2013-11-13 00:20:43 +0000
committerAaron Ballman <aaron@aaronballman.com>2013-11-13 00:20:43 +0000
commit20d7ed198978f871e91fde66e3b9a4a73a7c5396 (patch)
tree400354c9247317d3799d9a6b3b4c6429e8c7b293 /include
parenteb3602472026dc029beb45ccbe09bc84162ba949 (diff)
downloadllvm-20d7ed198978f871e91fde66e3b9a4a73a7c5396.tar.gz
llvm-20d7ed198978f871e91fde66e3b9a4a73a7c5396.tar.bz2
llvm-20d7ed198978f871e91fde66e3b9a4a73a7c5396.tar.xz
Removing llvm::huge_vald and llvm::huge_vall because they are not currently used, and HUGE_VALD does not appear to be supported everywhere anyways.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@194535 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r--include/llvm/Support/MathExtras.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/include/llvm/Support/MathExtras.h b/include/llvm/Support/MathExtras.h
index 17cf4751a0..ff41608f5f 100644
--- a/include/llvm/Support/MathExtras.h
+++ b/include/llvm/Support/MathExtras.h
@@ -608,12 +608,8 @@ inline int64_t SignExtend64(uint64_t X, unsigned B) {
// Visual Studio defines the HUGE_VAL class of macros using purposeful
// constant arithmetic overflow, which it then warns on when encountered.
const float huge_valf = std::numeric_limits<float>::infinity();
- const double huge_vald = std::numeric_limits<double>::infinity();
- const long double huge_vall = std::numeric_limits<long double>::infinity();
#else
const float huge_valf = HUGE_VALF;
- const double huge_vald = HUGE_VALD;
- const long double huge_vall = HUGE_VALL;
#endif
} // End llvm namespace