[llvm] r300711 - Add an #include for <climits> for CHAR_BIT.
Zachary Turner via llvm-commits
llvm-commits at lists.llvm.org
Wed Apr 19 08:50:44 PDT 2017
Author: zturner
Date: Wed Apr 19 10:50:43 2017
New Revision: 300711
URL: http://llvm.org/viewvc/llvm-project?rev=300711&view=rev
Log:
Add an #include for <climits> for CHAR_BIT.
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=300711&r1=300710&r2=300711&view=diff
==============================================================================
--- llvm/trunk/include/llvm/Support/MathExtras.h (original)
+++ llvm/trunk/include/llvm/Support/MathExtras.h Wed Apr 19 10:50:43 2017
@@ -18,6 +18,7 @@
#include "llvm/Support/SwapByteOrder.h"
#include <algorithm>
#include <cassert>
+#include <climits>
#include <cstring>
#include <type_traits>
#include <limits>
More information about the llvm-commits
mailing list