From c54aa30626d8b03a25b270eb674197269378888f Mon Sep 17 00:00:00 2001 From: Max Moroz Date: Tue, 6 Aug 2019 16:02:39 +0000 Subject: [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 --- lib/fuzzer/tests/FuzzedDataProviderUnittest.cpp | 2 +- lib/fuzzer/utils/FuzzedDataProvider.h | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) (limited to 'lib/fuzzer') 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 #include -#include +#include // 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. -- cgit v1.2.1