[llvm] r194535 - 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.
Aaron Ballman
aaron at aaronballman.com
Tue Nov 12 16:20:43 PST 2013
Author: aaronballman
Date: Tue Nov 12 18:20:43 2013
New Revision: 194535
URL: http://llvm.org/viewvc/llvm-project?rev=194535&view=rev
Log:
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.
Modified:
llvm/trunk/include/llvm/Support/MathExtras.h
Modified: llvm/trunk/include/llvm/Support/MathExtras.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Support/MathExtras.h?rev=194535&r1=194534&r2=194535&view=diff
==============================================================================
--- llvm/trunk/include/llvm/Support/MathExtras.h (original)
+++ llvm/trunk/include/llvm/Support/MathExtras.h Tue Nov 12 18:20:43 2013
@@ -608,12 +608,8 @@ inline int64_t SignExtend64(uint64_t X,
// 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
More information about the llvm-commits
mailing list