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

Side by Side Diff: mojo/public/tools/bindings/generators/cpp_templates/module.cc.tmpl

Issue 905253005: In generated .cc files, for MSVS, also suppress warning C4065. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 years, 10 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 unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #if defined(__clang__) 5 #if defined(__clang__)
6 #pragma clang diagnostic push 6 #pragma clang diagnostic push
7 #pragma clang diagnostic ignored "-Wunused-private-field" 7 #pragma clang diagnostic ignored "-Wunused-private-field"
8 #elif defined(_MSC_VER) 8 #elif defined(_MSC_VER)
9 #pragma warning(push) 9 #pragma warning(push)
10 #pragma warning(disable:4056) 10 #pragma warning(disable:4056)
11 #pragma warning(disable:4065)
11 #pragma warning(disable:4756) 12 #pragma warning(disable:4756)
12 #endif 13 #endif
13 14
14 #include "{{module.path}}.h" 15 #include "{{module.path}}.h"
15 16
16 #include <math.h> 17 #include <math.h>
17 18
18 #include "mojo/public/cpp/bindings/lib/array_serialization.h" 19 #include "mojo/public/cpp/bindings/lib/array_serialization.h"
19 #include "mojo/public/cpp/bindings/lib/bindings_serialization.h" 20 #include "mojo/public/cpp/bindings/lib/bindings_serialization.h"
20 #include "mojo/public/cpp/bindings/lib/bounds_checker.h" 21 #include "mojo/public/cpp/bindings/lib/bounds_checker.h"
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
104 105
105 {%- for namespace in namespaces_as_array|reverse %} 106 {%- for namespace in namespaces_as_array|reverse %}
106 } // namespace {{namespace}} 107 } // namespace {{namespace}}
107 {%- endfor %} 108 {%- endfor %}
108 109
109 #if defined(__clang__) 110 #if defined(__clang__)
110 #pragma clang diagnostic pop 111 #pragma clang diagnostic pop
111 #elif defined(_MSC_VER) 112 #elif defined(_MSC_VER)
112 #pragma warning(pop) 113 #pragma warning(pop)
113 #endif 114 #endif
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698