[llvm] r322885 - Support: Add missing #include.

Peter Collingbourne via llvm-commits llvm-commits at lists.llvm.org
Thu Jan 18 12:49:33 PST 2018


Author: pcc
Date: Thu Jan 18 12:49:33 2018
New Revision: 322885

URL: http://llvm.org/viewvc/llvm-project?rev=322885&view=rev
Log:
Support: Add missing #include.

This #include is necessary to provide the definitions of _fpclass
and _FPCLASS_NZ when building with libc++.

Modified:
    llvm/trunk/lib/Support/NativeFormatting.cpp

Modified: llvm/trunk/lib/Support/NativeFormatting.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Support/NativeFormatting.cpp?rev=322885&r1=322884&r2=322885&view=diff
==============================================================================
--- llvm/trunk/lib/Support/NativeFormatting.cpp (original)
+++ llvm/trunk/lib/Support/NativeFormatting.cpp Thu Jan 18 12:49:33 2018
@@ -14,6 +14,8 @@
 #include "llvm/ADT/StringExtras.h"
 #include "llvm/Support/Format.h"
 
+#include <float.h>
+
 using namespace llvm;
 
 template<typename T, std::size_t N>




More information about the llvm-commits mailing list