Skip to content

Commit

Permalink
port_def: Add ignore for -Wextra-semi with Clang
Browse files Browse the repository at this point in the history
Amends #13492
  • Loading branch information
jonaski committed Sep 5, 2023
1 parent ad88453 commit bbf0a7a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/google/protobuf/port_def.inc
Original file line number Diff line number Diff line change
Expand Up @@ -1082,6 +1082,7 @@ static_assert(PROTOBUF_ABSL_MIN(20230125, 3),
// for (int i = 0; i < file_->public_dependency_count(); ++i)
// for (int i = 0; i < public_dep->message_type_count(); ++i)
#pragma clang diagnostic ignored "-Wshadow"
#pragma clang diagnostic ignored "-Wextra-semi"
#endif
#ifdef __GNUC__
#pragma GCC diagnostic push
Expand Down

0 comments on commit bbf0a7a

Please sign in to comment.