• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1In file included from overridden_methods.cpp:5:
2./overridden_methods.h:25:29: warning: [chromium-style] Overriding method must be marked with 'override' or 'final'.
3  virtual void SomeMethod() = 0;
4                            ^
5                             override
6./overridden_methods.h:25:3: warning: [chromium-style] 'virtual' will be redundant; 'override' implies 'virtual'.
7  virtual void SomeMethod() = 0;
8  ^~~~~~~~
9./overridden_methods.h:38:42: warning: [chromium-style] Overriding method must be marked with 'override' or 'final'.
10  virtual void WebKitModifiedSomething() {}
11                                         ^
12                                          override
13./overridden_methods.h:38:3: warning: [chromium-style] 'virtual' will be redundant; 'override' implies 'virtual'.
14  virtual void WebKitModifiedSomething() {}
15  ^~~~~~~~
16./overridden_methods.h:46:27: warning: [chromium-style] Overriding method must be marked with 'override' or 'final'.
17  virtual ~DerivedClass() {}
18                          ^
19                           override
20./overridden_methods.h:46:3: warning: [chromium-style] 'virtual' will be redundant; 'override' implies 'virtual'.
21  virtual ~DerivedClass() {}
22  ^~~~~~~~
23./overridden_methods.h:48:28: warning: [chromium-style] Overriding method must be marked with 'override' or 'final'.
24  virtual void SomeMethod();
25                           ^
26                            override
27./overridden_methods.h:48:3: warning: [chromium-style] 'virtual' will be redundant; 'override' implies 'virtual'.
28  virtual void SomeMethod();
29  ^~~~~~~~
30./overridden_methods.h:52:35: warning: [chromium-style] Overriding method must be marked with 'override' or 'final'.
31  virtual void SomeInlineMethod() {}
32                                  ^
33                                   override
34./overridden_methods.h:52:3: warning: [chromium-style] 'virtual' will be redundant; 'override' implies 'virtual'.
35  virtual void SomeInlineMethod() {}
36  ^~~~~~~~
37./overridden_methods.h:54:41: warning: [chromium-style] Overriding method must be marked with 'override' or 'final'.
38  virtual void WebKitModifiedSomething();
39                                        ^
40                                         override
41./overridden_methods.h:54:3: warning: [chromium-style] 'virtual' will be redundant; 'override' implies 'virtual'.
42  virtual void WebKitModifiedSomething();
43  ^~~~~~~~
44./overridden_methods.h:56:40: warning: [chromium-style] Overriding method must be marked with 'override' or 'final'.
45  virtual void SomeConstMethod() const {}
46                                       ^
47                                        override
48./overridden_methods.h:56:3: warning: [chromium-style] 'virtual' will be redundant; 'override' implies 'virtual'.
49  virtual void SomeConstMethod() const {}
50  ^~~~~~~~
51./overridden_methods.h:58:54: warning: [chromium-style] Overriding method must be marked with 'override' or 'final'.
52  virtual void SomeMethodWithExceptionSpec() throw() {}
53                                                     ^
54                                                      override
55./overridden_methods.h:58:3: warning: [chromium-style] 'virtual' will be redundant; 'override' implies 'virtual'.
56  virtual void SomeMethodWithExceptionSpec() throw() {}
57  ^~~~~~~~
58./overridden_methods.h:61:68: warning: [chromium-style] Overriding method must be marked with 'override' or 'final'.
59  virtual void SomeConstMethodWithExceptionSpec() const throw(int) {}
60                                                                   ^
61                                                                    override
62./overridden_methods.h:61:3: warning: [chromium-style] 'virtual' will be redundant; 'override' implies 'virtual'.
63  virtual void SomeConstMethodWithExceptionSpec() const throw(int) {}
64  ^~~~~~~~
65./overridden_methods.h:63:40: warning: [chromium-style] Overriding method must be marked with 'override' or 'final'.
66  virtual void SomeNonPureBaseMethod() {}
67                                       ^
68                                        override
69./overridden_methods.h:63:3: warning: [chromium-style] 'virtual' will be redundant; 'override' implies 'virtual'.
70  virtual void SomeNonPureBaseMethod() {}
71  ^~~~~~~~
72./overridden_methods.h:65:39: warning: [chromium-style] Overriding method must be marked with 'override' or 'final'.
73  virtual void SomeMethodWithComment();  // This is a comment.
74                                      ^
75                                       override
76./overridden_methods.h:65:3: warning: [chromium-style] 'virtual' will be redundant; 'override' implies 'virtual'.
77  virtual void SomeMethodWithComment();  // This is a comment.
78  ^~~~~~~~
79./overridden_methods.h:67:47: warning: [chromium-style] Overriding method must be marked with 'override' or 'final'.
80  virtual void SomeMethodWithCommentAndBody() {}  // This is a comment.
81                                              ^
82                                               override
83./overridden_methods.h:67:3: warning: [chromium-style] 'virtual' will be redundant; 'override' implies 'virtual'.
84  virtual void SomeMethodWithCommentAndBody() {}  // This is a comment.
85  ^~~~~~~~
86./overridden_methods.h:78:36: warning: [chromium-style] Overriding method must be marked with 'override' or 'final'.
87  ~DerivedClassWithDefaultedDtor() = default;
88                                   ^
89                                    override
90overridden_methods.cpp:17:29: warning: [chromium-style] Overriding method must be marked with 'override' or 'final'.
91  virtual void SomeMethod() = 0;
92                            ^
93                             override
94overridden_methods.cpp:17:3: warning: [chromium-style] 'virtual' will be redundant; 'override' implies 'virtual'.
95  virtual void SomeMethod() = 0;
96  ^~~~~~~~
97overridden_methods.cpp:24:41: warning: [chromium-style] Overriding method must be marked with 'override' or 'final'.
98  virtual ~ImplementationDerivedClass() {}
99                                        ^
100                                         override
101overridden_methods.cpp:24:3: warning: [chromium-style] 'virtual' will be redundant; 'override' implies 'virtual'.
102  virtual ~ImplementationDerivedClass() {}
103  ^~~~~~~~
104overridden_methods.cpp:26:28: warning: [chromium-style] Overriding method must be marked with 'override' or 'final'.
105  virtual void SomeMethod();
106                           ^
107                            override
108overridden_methods.cpp:26:3: warning: [chromium-style] 'virtual' will be redundant; 'override' implies 'virtual'.
109  virtual void SomeMethod();
110  ^~~~~~~~
111overridden_methods.cpp:30:35: warning: [chromium-style] Overriding method must be marked with 'override' or 'final'.
112  virtual void SomeInlineMethod() {}
113                                  ^
114                                   override
115overridden_methods.cpp:30:3: warning: [chromium-style] 'virtual' will be redundant; 'override' implies 'virtual'.
116  virtual void SomeInlineMethod() {}
117  ^~~~~~~~
118overridden_methods.cpp:32:41: warning: [chromium-style] Overriding method must be marked with 'override' or 'final'.
119  virtual void WebKitModifiedSomething();
120                                        ^
121                                         override
122overridden_methods.cpp:32:3: warning: [chromium-style] 'virtual' will be redundant; 'override' implies 'virtual'.
123  virtual void WebKitModifiedSomething();
124  ^~~~~~~~
125overridden_methods.cpp:34:40: warning: [chromium-style] Overriding method must be marked with 'override' or 'final'.
126  virtual void SomeConstMethod() const {}
127                                       ^
128                                        override
129overridden_methods.cpp:34:3: warning: [chromium-style] 'virtual' will be redundant; 'override' implies 'virtual'.
130  virtual void SomeConstMethod() const {}
131  ^~~~~~~~
132overridden_methods.cpp:36:54: warning: [chromium-style] Overriding method must be marked with 'override' or 'final'.
133  virtual void SomeMethodWithExceptionSpec() throw() {}
134                                                     ^
135                                                      override
136overridden_methods.cpp:36:3: warning: [chromium-style] 'virtual' will be redundant; 'override' implies 'virtual'.
137  virtual void SomeMethodWithExceptionSpec() throw() {}
138  ^~~~~~~~
139overridden_methods.cpp:39:68: warning: [chromium-style] Overriding method must be marked with 'override' or 'final'.
140  virtual void SomeConstMethodWithExceptionSpec() const throw(int) {}
141                                                                   ^
142                                                                    override
143overridden_methods.cpp:39:3: warning: [chromium-style] 'virtual' will be redundant; 'override' implies 'virtual'.
144  virtual void SomeConstMethodWithExceptionSpec() const throw(int) {}
145  ^~~~~~~~
146overridden_methods.cpp:41:40: warning: [chromium-style] Overriding method must be marked with 'override' or 'final'.
147  virtual void SomeNonPureBaseMethod() {}
148                                       ^
149                                        override
150overridden_methods.cpp:41:3: warning: [chromium-style] 'virtual' will be redundant; 'override' implies 'virtual'.
151  virtual void SomeNonPureBaseMethod() {}
152  ^~~~~~~~
153overridden_methods.cpp:43:39: warning: [chromium-style] Overriding method must be marked with 'override' or 'final'.
154  virtual void SomeMethodWithComment();  // This is a comment.
155                                      ^
156                                       override
157overridden_methods.cpp:43:3: warning: [chromium-style] 'virtual' will be redundant; 'override' implies 'virtual'.
158  virtual void SomeMethodWithComment();  // This is a comment.
159  ^~~~~~~~
160overridden_methods.cpp:45:47: warning: [chromium-style] Overriding method must be marked with 'override' or 'final'.
161  virtual void SomeMethodWithCommentAndBody() {}  // This is a comment.
162                                              ^
163                                               override
164overridden_methods.cpp:45:3: warning: [chromium-style] 'virtual' will be redundant; 'override' implies 'virtual'.
165  virtual void SomeMethodWithCommentAndBody() {}  // This is a comment.
166  ^~~~~~~~
16747 warnings generated.
168