summaryrefslogtreecommitdiffstats
path: root/libcxx/include/cfloat
diff options
context:
space:
mode:
authorMarshall Clow <mclow.lists@gmail.com>2018-07-31 23:29:06 +0000
committerMarshall Clow <mclow.lists@gmail.com>2018-07-31 23:29:06 +0000
commit5802ab265cd36c0f75cbe906c3f2ca5addc9e48d (patch)
tree2cedf0b64ee5eb105858b93b06ce56d70c31cd94 /libcxx/include/cfloat
parentae43a27f9ce8794a6a543f26cbff49d88fe9c9f6 (diff)
downloadbcm5719-llvm-5802ab265cd36c0f75cbe906c3f2ca5addc9e48d.tar.gz
bcm5719-llvm-5802ab265cd36c0f75cbe906c3f2ca5addc9e48d.zip
Test for the presence of a bunch of new macros for c++17. These macros come from C11. Part of P0063
llvm-svn: 338454
Diffstat (limited to 'libcxx/include/cfloat')
-rw-r--r--libcxx/include/cfloat10
1 files changed, 10 insertions, 0 deletions
diff --git a/libcxx/include/cfloat b/libcxx/include/cfloat
index 176fa9de3ce..0abe84bf175 100644
--- a/libcxx/include/cfloat
+++ b/libcxx/include/cfloat
@@ -20,11 +20,18 @@ Macros:
FLT_EVAL_METHOD // C99
FLT_RADIX
+ FLT_HAS_SUBNORM // C11
+ DBL_HAS_SUBNORM // C11
+ LDBL_HAS_SUBNORM // C11
+
FLT_MANT_DIG
DBL_MANT_DIG
LDBL_MANT_DIG
DECIMAL_DIG // C99
+ FLT_DECIMAL_DIG // C11
+ DBL_DECIMAL_DIG // C11
+ LDBL_DECIMAL_DIG // C11
FLT_DIG
DBL_DIG
@@ -58,6 +65,9 @@ Macros:
DBL_MIN
LDBL_MIN
+ FLT_TRUE_MIN // C11
+ DBL_TRUE_MIN // C11
+ LDBL_TRUE_MIN // C11
*/
#include <__config>
OpenPOWER on IntegriCloud