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

Unified Diff: third_party/cld_2/cld_2.gyp

Issue 1216413002: Fix remaining warnings for -Wmissing-braces and enable on win clang. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Less nesting Created 5 years, 5 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 | « third_party/cld_2/BUILD.gn ('k') | third_party/iaccessible2/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/cld_2/cld_2.gyp
diff --git a/third_party/cld_2/cld_2.gyp b/third_party/cld_2/cld_2.gyp
index 96bd9ff642f9b960a186fc0d4ac551f42b8530df..e07385bc07dbc56a8b2b3771dd39b864426254ea 100644
--- a/third_party/cld_2/cld_2.gyp
+++ b/third_party/cld_2/cld_2.gyp
@@ -124,6 +124,12 @@
}],
],
'defines': ['CLD2_DYNAMIC_MODE'],
+ 'variables': {
+ 'clang_warning_flags': [
+ # The generated files don't have braces around subobject initializers.
+ '-Wno-missing-braces',
+ ],
+ },
},
{
@@ -168,6 +174,12 @@
'sources+': ['<@(cld2_data_largest_sources)']
}],
],
+ 'variables': {
+ 'clang_warning_flags': [
+ # The generated files don't have braces around subobject initializers.
+ '-Wno-missing-braces',
+ ],
+ },
},
{
« no previous file with comments | « third_party/cld_2/BUILD.gn ('k') | third_party/iaccessible2/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698