diff --git a/clang/tools/clang-format/fuzzer/ClangFormatFuzzer.cpp b/clang/tools/clang-format/fuzzer/ClangFormatFuzzer.cpp index fff4283277ea..fe4941a5ba1a 100644 --- a/clang/tools/clang-format/fuzzer/ClangFormatFuzzer.cpp +++ b/clang/tools/clang-format/fuzzer/ClangFormatFuzzer.cpp @@ -15,7 +15,7 @@ #include "clang/Format/Format.h" -extern "C" void TestOneInput(uint8_t *data, size_t size) { +extern "C" void LLVMFuzzerTestOneInput(uint8_t *data, size_t size) { // FIXME: fuzz more things: different styles, different style features. std::string s((const char *)data, size); auto Style = getGoogleStyle(clang::format::FormatStyle::LK_Cpp); diff --git a/clang/tools/clang-fuzzer/ClangFuzzer.cpp b/clang/tools/clang-fuzzer/ClangFuzzer.cpp index f58b0cece24b..17ef0521e3c3 100644 --- a/clang/tools/clang-fuzzer/ClangFuzzer.cpp +++ b/clang/tools/clang-fuzzer/ClangFuzzer.cpp @@ -20,7 +20,7 @@ using namespace clang; -extern "C" void TestOneInput(uint8_t *data, size_t size) { +extern "C" void LLVMFuzzerTestOneInput(uint8_t *data, size_t size) { std::string s((const char *)data, size); llvm::opt::ArgStringList CC1Args; CC1Args.push_back("-cc1");