1 //==-- handle_cxx.h - Helper function for Clang fuzzers --------------------==// 2 // 3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. 4 // See https://llvm.org/LICENSE.txt for license information. 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 6 // 7 //===----------------------------------------------------------------------===// 8 // 9 // Defines HandleCXX for use by the Clang fuzzers. 10 // 11 //===----------------------------------------------------------------------===// 12 13 #ifndef LLVM_CLANG_TOOLS_CLANG_FUZZER_HANDLE_CXX_HANDLECXX_H 14 #define LLVM_CLANG_TOOLS_CLANG_FUZZER_HANDLE_CXX_HANDLECXX_H 15 16 #include <string> 17 #include <vector> 18 19 namespace clang_fuzzer { 20 void HandleCXX(const std::string &S, 21 const char *FileName, 22 const std::vector<const char *> &ExtraArgs); 23 } // namespace clang_fuzzer 24 25 #endif 26