diff options
| author | Vitaly Buka <vitalybuka@google.com> | 2019-09-11 21:33:06 +0000 |
|---|---|---|
| committer | Vitaly Buka <vitalybuka@google.com> | 2019-09-11 21:33:06 +0000 |
| commit | 48eb4a27d1d1f2f6e7f6036d47fb282e6eb49310 (patch) | |
| tree | d1a68f4f6aa581aa9bcb2c486a9d9c9927b637d1 /compiler-rt/include/fuzzer | |
| parent | aeeb9e3895e22ab99c18c5e62775fc6461e8a16d (diff) | |
| download | bcm5719-llvm-48eb4a27d1d1f2f6e7f6036d47fb282e6eb49310.tar.gz bcm5719-llvm-48eb4a27d1d1f2f6e7f6036d47fb282e6eb49310.zip | |
Update compiler-rt cpplint.py
https://github.com/cpplint/cpplint/commit/adb3500107f409ac5491188ae652ac3f4d03d9d3
llvm-svn: 371675
Diffstat (limited to 'compiler-rt/include/fuzzer')
| -rw-r--r-- | compiler-rt/include/fuzzer/FuzzedDataProvider.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler-rt/include/fuzzer/FuzzedDataProvider.h b/compiler-rt/include/fuzzer/FuzzedDataProvider.h index 59ef284b63c..428db9a04e3 100644 --- a/compiler-rt/include/fuzzer/FuzzedDataProvider.h +++ b/compiler-rt/include/fuzzer/FuzzedDataProvider.h @@ -196,7 +196,7 @@ class FuzzedDataProvider { // Use different integral types for different floating point types in order // to provide better density of the resulting values. using IntegralType = - typename std::conditional<sizeof(T) <= sizeof(uint32_t), uint32_t, + typename std::conditional<(sizeof(T) <= sizeof(uint32_t)), uint32_t, uint64_t>::type; T result = static_cast<T>(ConsumeIntegral<IntegralType>()); |

