diff options
author | Patrick Wildt <patrick@cvs.openbsd.org> | 2020-08-03 14:33:11 +0000 |
---|---|---|
committer | Patrick Wildt <patrick@cvs.openbsd.org> | 2020-08-03 14:33:11 +0000 |
commit | 7e0762870f961466d585c29c6992b4dd4608d2e6 (patch) | |
tree | b72d390e2fad5ebc43a5b207e070bddcb30a9b85 /gnu/llvm/clang/tools/clang-fuzzer/handle-cxx/handle_cxx.h | |
parent | baa63be6f620fe92580888c3118df95dccdb98af (diff) |
Import LLVM 10.0.0 release including clang, lld and lldb.
ok hackroom
tested by plenty
Diffstat (limited to 'gnu/llvm/clang/tools/clang-fuzzer/handle-cxx/handle_cxx.h')
-rw-r--r-- | gnu/llvm/clang/tools/clang-fuzzer/handle-cxx/handle_cxx.h | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/gnu/llvm/clang/tools/clang-fuzzer/handle-cxx/handle_cxx.h b/gnu/llvm/clang/tools/clang-fuzzer/handle-cxx/handle_cxx.h new file mode 100644 index 00000000000..2126ae9ea37 --- /dev/null +++ b/gnu/llvm/clang/tools/clang-fuzzer/handle-cxx/handle_cxx.h @@ -0,0 +1,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 |