Skip to content

Commit

Permalink
Add -Wshadow to our usual compiler options
Browse files Browse the repository at this point in the history
This will prevent this kind of problem from landing in the future.
  • Loading branch information
chiphogg committed Dec 4, 2023
1 parent 8e4f9da commit aacc384
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions build/copts.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ BASE_CLANG_COPTS = [
# Diagnostics
"-fcolor-diagnostics",
"-Wall",
"-Wshadow",
"-Wthread-safety",
"-Wself-assign",
]

0 comments on commit aacc384

Please sign in to comment.