[compiler-rt] 5517d3b - [compiler-rt] Fix a typo in a comment in FuzzedDataProvider.h.
Max Moroz via llvm-commits
llvm-commits at lists.llvm.org
Tue Feb 25 17:10:29 PST 2020
Author: Max Moroz
Date: 2020-02-25T17:10:16-08:00
New Revision: 5517d3b80b136b4afc7097147397d03bb840403a
URL: https://github.com/llvm/llvm-project/commit/5517d3b80b136b4afc7097147397d03bb840403a
DIFF: https://github.com/llvm/llvm-project/commit/5517d3b80b136b4afc7097147397d03bb840403a.diff
LOG: [compiler-rt] Fix a typo in a comment in FuzzedDataProvider.h.
Added:
Modified:
compiler-rt/include/fuzzer/FuzzedDataProvider.h
Removed:
################################################################################
diff --git a/compiler-rt/include/fuzzer/FuzzedDataProvider.h b/compiler-rt/include/fuzzer/FuzzedDataProvider.h
index b0a37737af75..bdeff21b1294 100644
--- a/compiler-rt/include/fuzzer/FuzzedDataProvider.h
+++ b/compiler-rt/include/fuzzer/FuzzedDataProvider.h
@@ -304,7 +304,7 @@ class FuzzedDataProvider {
if (std::numeric_limits<TS>::is_modulo)
return static_cast<TS>(value);
- // Avoid using implementation-defined unsigned to signer conversions.
+ // Avoid using implementation-defined unsigned to signed conversions.
// To learn more, see https://stackoverflow.com/questions/13150449.
if (value <= std::numeric_limits<TS>::max()) {
return static_cast<TS>(value);
More information about the llvm-commits
mailing list