1 In 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;
6 ./overridden_methods.h:46:27: warning: [chromium-style] Overriding method must be marked with 'override' or 'final'.
7 virtual ~DerivedClass() {}
10 ./overridden_methods.h:48:28: warning: [chromium-style] Overriding method must be marked with 'override' or 'final'.
11 virtual void SomeMethod();
14 ./overridden_methods.h:52:35: warning: [chromium-style] Overriding method must be marked with 'override' or 'final'.
15 virtual void SomeInlineMethod() {}
18 ./overridden_methods.h:56:40: warning: [chromium-style] Overriding method must be marked with 'override' or 'final'.
19 virtual void SomeConstMethod() const {}
22 ./overridden_methods.h:58:54: warning: [chromium-style] Overriding method must be marked with 'override' or 'final'.
23 virtual void SomeMethodWithExceptionSpec() throw() {}
26 ./overridden_methods.h:61:68: warning: [chromium-style] Overriding method must be marked with 'override' or 'final'.
27 virtual void SomeConstMethodWithExceptionSpec() const throw(int) {}
30 ./overridden_methods.h:63:40: warning: [chromium-style] Overriding method must be marked with 'override' or 'final'.
31 virtual void SomeNonPureBaseMethod() {}
34 ./overridden_methods.h:65:39: warning: [chromium-style] Overriding method must be marked with 'override' or 'final'.
35 virtual void SomeMethodWithComment(); // This is a comment.
38 ./overridden_methods.h:67:47: warning: [chromium-style] Overriding method must be marked with 'override' or 'final'.
39 virtual void SomeMethodWithCommentAndBody() {} // This is a comment.
42 overridden_methods.cpp:15:29: warning: [chromium-style] Overriding method must be marked with 'override' or 'final'.
43 virtual void SomeMethod() = 0;
46 overridden_methods.cpp:22:41: warning: [chromium-style] Overriding method must be marked with 'override' or 'final'.
47 virtual ~ImplementationDerivedClass() {}
50 overridden_methods.cpp:24:28: warning: [chromium-style] Overriding method must be marked with 'override' or 'final'.
51 virtual void SomeMethod();
54 overridden_methods.cpp:28:35: warning: [chromium-style] Overriding method must be marked with 'override' or 'final'.
55 virtual void SomeInlineMethod() {}
58 overridden_methods.cpp:32:40: warning: [chromium-style] Overriding method must be marked with 'override' or 'final'.
59 virtual void SomeConstMethod() const {}
62 overridden_methods.cpp:34:54: warning: [chromium-style] Overriding method must be marked with 'override' or 'final'.
63 virtual void SomeMethodWithExceptionSpec() throw() {}
66 overridden_methods.cpp:37:68: warning: [chromium-style] Overriding method must be marked with 'override' or 'final'.
67 virtual void SomeConstMethodWithExceptionSpec() const throw(int) {}
70 overridden_methods.cpp:39:40: warning: [chromium-style] Overriding method must be marked with 'override' or 'final'.
71 virtual void SomeNonPureBaseMethod() {}
74 overridden_methods.cpp:41:39: warning: [chromium-style] Overriding method must be marked with 'override' or 'final'.
75 virtual void SomeMethodWithComment(); // This is a comment.
78 overridden_methods.cpp:43:47: warning: [chromium-style] Overriding method must be marked with 'override' or 'final'.
79 virtual void SomeMethodWithCommentAndBody() {} // This is a comment.
82 20 warnings generated.