Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2288)

Unified Diff: build/common.gypi

Issue 6300001: Clang: enable -Wbool-conversions and -Wunused-variables on Linux. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase, undo indent Created 9 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « base/pr_time_unittest.cc ('k') | ceee/ie/broker/cookie_api_module_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/common.gypi
diff --git a/build/common.gypi b/build/common.gypi
index 768160ab4f760672e325d99d435d89445de51d66..eb7b37098d1c3034d3d9c9e8e42a2e29481ce93d 100644
--- a/build/common.gypi
+++ b/build/common.gypi
@@ -1136,13 +1136,8 @@
}],
['clang==1', {
'cflags': [
- # Don't warn about unused variables, due to a common pattern:
- # scoped_deleter unused_variable(&thing_to_delete);
- '-Wno-unused-variable',
# Clang spots more unused functions.
'-Wno-unused-function',
- # gtest confuses clang.
- '-Wno-bool-conversions',
# Don't die on dtoa code that uses a char as an array index.
'-Wno-char-subscripts',
# Survive EXPECT_EQ(unnamed_enum, unsigned int) -- see
« no previous file with comments | « base/pr_time_unittest.cc ('k') | ceee/ie/broker/cookie_api_module_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698