[PATCH] D78641: [builtins] Add void prototype to unprototyped functions
Ayke via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Apr 22 13:03:53 PDT 2020
This revision was automatically updated to reflect the committed changes.
Closed by commit rG1109dcba20dc: [builtins] Add void prototype to unprototyped functions (authored by aykevl).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D78641/new/
https://reviews.llvm.org/D78641
Files:
compiler-rt/test/builtins/Unit/fp_test.h
Index: compiler-rt/test/builtins/Unit/fp_test.h
===================================================================
--- compiler-rt/test/builtins/Unit/fp_test.h
+++ compiler-rt/test/builtins/Unit/fp_test.h
@@ -211,23 +211,23 @@
return "";
}
-static inline uint16_t makeQNaN16()
+static inline uint16_t makeQNaN16(void)
{
return fromRep16(0x7e00U);
}
-static inline float makeQNaN32()
+static inline float makeQNaN32(void)
{
return fromRep32(0x7fc00000U);
}
-static inline double makeQNaN64()
+static inline double makeQNaN64(void)
{
return fromRep64(0x7ff8000000000000UL);
}
#if __LDBL_MANT_DIG__ == 113
-static inline long double makeQNaN128()
+static inline long double makeQNaN128(void)
{
return fromRep128(0x7fff800000000000UL, 0x0UL);
}
@@ -255,23 +255,23 @@
}
#endif
-static inline uint16_t makeInf16()
+static inline uint16_t makeInf16(void)
{
return fromRep16(0x7c00U);
}
-static inline float makeInf32()
+static inline float makeInf32(void)
{
return fromRep32(0x7f800000U);
}
-static inline double makeInf64()
+static inline double makeInf64(void)
{
return fromRep64(0x7ff0000000000000UL);
}
#if __LDBL_MANT_DIG__ == 113
-static inline long double makeInf128()
+static inline long double makeInf128(void)
{
return fromRep128(0x7fff000000000000UL, 0x0UL);
}
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D78641.259372.patch
Type: text/x-patch
Size: 1348 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200422/12f5ea39/attachment.bin>
More information about the llvm-commits
mailing list