handle_cxx.h 863 Bytes
//==-- handle_cxx.h - Helper function for Clang fuzzers --------------------==//
//
// 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
//
//===----------------------------------------------------------------------===//
//
// Defines HandleCXX for use by the Clang fuzzers.
//
//===----------------------------------------------------------------------===//

#ifndef LLVM_CLANG_TOOLS_CLANG_FUZZER_HANDLE_CXX_HANDLECXX_H
#define LLVM_CLANG_TOOLS_CLANG_FUZZER_HANDLE_CXX_HANDLECXX_H

#include <string>
#include <vector>

namespace clang_fuzzer {
void HandleCXX(const std::string &S,
               const char *FileName,
               const std::vector<const char *> &ExtraArgs);
} // namespace clang_fuzzer

#endif