aboutsummaryrefslogtreecommitdiff
path: root/tools/clang-fuzzer/handle-cxx/handle_cxx.h
blob: 2126ae9ea37a3b737b660276f8dbbcff5eee0632 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
//==-- 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