llvm/clang-tools-extra/pseudo/fuzzer/Fuzzer.cpp

//===-- Fuzzer.cpp - Fuzz the pseudoparser --------------------------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===----------------------------------------------------------------------===//

#include "clang-pseudo/DirectiveTree.h"
#include "clang-pseudo/Forest.h"
#include "clang-pseudo/GLR.h"
#include "clang-pseudo/Token.h"
#include "clang-pseudo/cli/CLI.h"
#include "clang-pseudo/grammar/Grammar.h"
#include "clang-pseudo/grammar/LRTable.h"
#include "clang/Basic/LangOptions.h"
#include "llvm/ADT/StringRef.h"
#include "llvm/Support/MemoryBuffer.h"
#include "llvm/Support/raw_ostream.h"
#include <algorithm>

namespace clang {
namespace pseudo {
namespace {

class Fuzzer {};

Fuzzer *Fuzz =;

} // namespace
} // namespace pseudo
} // namespace clang

extern "C" {

// Set up the fuzzer from command line flags:
//  -print                     - used for testing the fuzzer
int LLVMFuzzerInitialize(int *Argc, char ***Argv) {}

int LLVMFuzzerTestOneInput(uint8_t *Data, size_t Size) {}
}