diff options
author | Max Moroz <mmoroz@chromium.org> | 2019-08-06 16:02:39 +0000 |
---|---|---|
committer | Max Moroz <mmoroz@chromium.org> | 2019-08-06 16:02:39 +0000 |
commit | c54aa30626d8b03a25b270eb674197269378888f (patch) | |
tree | dcfc14002f815b9669c895e2b291f7cb61a267e2 /lib/fuzzer | |
parent | b563d22e24d18234bef53d8efe5b53d8c56ddefb (diff) | |
download | compiler-rt-c54aa30626d8b03a25b270eb674197269378888f.tar.gz |
[compiler-rt] Rename FuzzedDataProvider.h to .hpp and other minor changes.
Summary:
.hpp makes more sense for this header as it's C++ only, plus it
contains the actual implementation.
Reviewers: Dor1s
Reviewed By: Dor1s
Subscribers: kubamracek, dberris, mgorny, delcypher, #sanitizers, llvm-commits
Tags: #llvm, #sanitizers
Differential Revision: https://reviews.llvm.org/D65812
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@368054 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/fuzzer')
-rw-r--r-- | lib/fuzzer/tests/FuzzedDataProviderUnittest.cpp | 2 | ||||
-rw-r--r-- | lib/fuzzer/utils/FuzzedDataProvider.h | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/lib/fuzzer/tests/FuzzedDataProviderUnittest.cpp b/lib/fuzzer/tests/FuzzedDataProviderUnittest.cpp index 0989ec9ec..36f2090b1 100644 --- a/lib/fuzzer/tests/FuzzedDataProviderUnittest.cpp +++ b/lib/fuzzer/tests/FuzzedDataProviderUnittest.cpp @@ -6,7 +6,7 @@ #include <cstdint> #include <cstdlib> -#include <fuzzer/FuzzedDataProvider.h> +#include <fuzzer/FuzzedDataProvider.hpp> // The test is intentionally extensive, as behavior of |FuzzedDataProvider| must // not be broken, given than many fuzz targets depend on it. Changing the diff --git a/lib/fuzzer/utils/FuzzedDataProvider.h b/lib/fuzzer/utils/FuzzedDataProvider.h index e82f441d4..dd2ea20b9 100644 --- a/lib/fuzzer/utils/FuzzedDataProvider.h +++ b/lib/fuzzer/utils/FuzzedDataProvider.h @@ -5,6 +5,8 @@ // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// +// This a temporary copy of compiler-rt/include/fuzzer/FuzzedDataProvider.hpp. +// TODO(mmoroz@chromium.org): delete this copy. // A single header library providing an utility class to break up an array of // bytes. Whenever run on the same input, provides the same output, as long as // its methods are called in the same order, with the same arguments. |