We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fa02fc0 commit fae3b77Copy full SHA for fae3b77
src/test/fuzz/fuzz.h
@@ -33,11 +33,7 @@ struct FuzzTargetOptions {
33
34
void FuzzFrameworkRegisterTarget(std::string_view name, TypeTestOneInput target, FuzzTargetOptions opts);
35
36
-#if defined(__clang__)
37
-#define FUZZ_TARGET(...) _Pragma("clang diagnostic push") _Pragma("clang diagnostic ignored \"-Wgnu-zero-variadic-macro-arguments\"") DETAIL_FUZZ(__VA_ARGS__) _Pragma("clang diagnostic pop")
38
-#else
39
#define FUZZ_TARGET(...) DETAIL_FUZZ(__VA_ARGS__)
40
-#endif
41
42
#define DETAIL_FUZZ(name, ...) \
43
void name##_fuzz_target(FuzzBufferType); \
0 commit comments