From d21ebe74bd9c48e50b3fd0a891ccd28940115895 Mon Sep 17 00:00:00 2001 From: Ryan Harrison Date: Tue, 8 Feb 2022 21:37:56 +0000 Subject: [PATCH] Suppress "Wreserved-identifier" for the AST Fuzzer This is a check that has been added to newer versions of clang and is tripping for me locally. The actual issue is in code being generated by protobuf. Updating protobufs has cross-dependency issues with spriv-tools, so is non-trivial. There is already a special case suppression for internal protobuf issues, so I am just adding to the carve out. BUG=tint:1419 Change-Id: I3ecd111a778fb4c65a113382ded8d6160deab462 Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/79841 Auto-Submit: Ryan Harrison Reviewed-by: Ben Clayton Kokoro: Kokoro Commit-Queue: Ryan Harrison --- fuzzers/tint_ast_fuzzer/protobufs/tint_ast_fuzzer.h | 1 + 1 file changed, 1 insertion(+) diff --git a/fuzzers/tint_ast_fuzzer/protobufs/tint_ast_fuzzer.h b/fuzzers/tint_ast_fuzzer/protobufs/tint_ast_fuzzer.h index b4879f33e8..45d7ca54b5 100644 --- a/fuzzers/tint_ast_fuzzer/protobufs/tint_ast_fuzzer.h +++ b/fuzzers/tint_ast_fuzzer/protobufs/tint_ast_fuzzer.h @@ -26,6 +26,7 @@ #pragma clang diagnostic ignored "-Winconsistent-missing-destructor-override" #pragma clang diagnostic ignored "-Wweak-vtables" #pragma clang diagnostic ignored "-Wsuggest-destructor-override" +#pragma clang diagnostic ignored "-Wreserved-identifier" #include "fuzzers/tint_ast_fuzzer/protobufs/tint_ast_fuzzer.pb.h"