libafl_cc fixes for clang 16 (#1010)
None constant being deprecated, it is recommended to use the std::nullopt_t type instead.
This commit is contained in:
parent
7fd9ac0952
commit
3b68399cc9
@ -19,6 +19,11 @@ typedef long double max_align_t;
|
|||||||
#define HAVE_VECTOR_INTRINSICS 1
|
#define HAVE_VECTOR_INTRINSICS 1
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if LLVM_VERSION_MAJOR >= 16
|
||||||
|
#include <optional>
|
||||||
|
constexpr std::nullopt_t None = std::nullopt;
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifdef USE_NEW_PM
|
#ifdef USE_NEW_PM
|
||||||
#include "llvm/Passes/PassPlugin.h"
|
#include "llvm/Passes/PassPlugin.h"
|
||||||
#include "llvm/Passes/PassBuilder.h"
|
#include "llvm/Passes/PassBuilder.h"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user