Commit b944053a by Geoff Lang Committed by Commit Bot

Add extra warnings for narrowing and bool conversion.

BUG=angleproject:2258 Change-Id: If571820fccca1daba0ea1ac5a204f95b1b3c59f9 Reviewed-on: https://chromium-review.googlesource.com/794093Reviewed-by: 's avatarGeoff Lang <geofflang@chromium.org> Commit-Queue: Geoff Lang <geofflang@chromium.org>
parent 54a29ffd
...@@ -88,6 +88,8 @@ config("extra_warnings") { ...@@ -88,6 +88,8 @@ config("extra_warnings") {
"/we4244", # Conversion: possible loss of data. "/we4244", # Conversion: possible loss of data.
"/we4456", # Variable shadowing. "/we4456", # Variable shadowing.
"/we4458", # declaration hides class member. "/we4458", # declaration hides class member.
"/we4800", # forcing value to bool.
"/we4838", # narrowing conversion.
] ]
} }
if (is_clang) { if (is_clang) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment