fix clang-fuzzer and clang-format-fuzzer

llvm-svn: 236691
This commit is contained in:
Kostya Serebryany 2015-05-07 04:01:39 +00:00
parent d9ba224f66
commit 9ba68b3566
2 changed files with 2 additions and 2 deletions

View File

@ -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);

View File

@ -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");