[PATCH] D63553: [libFuzzer] Remove too aggressive static_assert in FuzzedDataProvider.
Max Moroz via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Jun 19 07:12:10 PDT 2019
This revision was automatically updated to reflect the committed changes.
Closed by commit rL363805: [libFuzzer] Remove too aggressive static_assert in FuzzedDataProvider. (authored by Dor1s, committed by ).
Repository:
rL LLVM
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D63553/new/
https://reviews.llvm.org/D63553
Files:
compiler-rt/trunk/lib/fuzzer/utils/FuzzedDataProvider.h
Index: compiler-rt/trunk/lib/fuzzer/utils/FuzzedDataProvider.h
===================================================================
--- compiler-rt/trunk/lib/fuzzer/utils/FuzzedDataProvider.h
+++ compiler-rt/trunk/lib/fuzzer/utils/FuzzedDataProvider.h
@@ -223,8 +223,6 @@
static_assert(sizeof(TS) == sizeof(TU), "Incompatible data types.");
static_assert(!std::numeric_limits<TU>::is_signed,
"Source type must be unsigned.");
- static_assert(std::numeric_limits<TS>::is_signed,
- "Destination type must be signed.");
// TODO(Dor1s): change to `if constexpr` once C++17 becomes mainstream.
if (std::numeric_limits<TS>::is_modulo)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D63553.205583.patch
Type: text/x-patch
Size: 689 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190619/9c17946f/attachment.bin>
More information about the llvm-commits
mailing list