• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1virtual_base_method_also_final.cpp:10:3: warning: [chromium-style] 'virtual' is redundant; 'final' implies 'virtual'.
2  VIRTUAL void F() final {}
3  ^~~~~~~~
4virtual_base_method_also_final.cpp:5:17: note: expanded from macro 'VIRTUAL'
5#define VIRTUAL virtual
6                ^
7virtual_base_method_also_final.cpp:10:3: warning: [chromium-style] The virtual method does not override anything and is final; consider making it non-virtual.
8  VIRTUAL void F() final {}
9  ^~~~~~~~         ~~~~~~
10virtual_base_method_also_final.cpp:5:17: note: expanded from macro 'VIRTUAL'
11#define VIRTUAL virtual
12                ^
13virtual_base_method_also_final.cpp:13:3: warning: [chromium-style] 'virtual' is redundant; 'final' implies 'virtual'.
14  void VIRTUAL G() final {}
15  ^
16virtual_base_method_also_final.cpp:13:3: warning: [chromium-style] The virtual method does not override anything and is final; consider making it non-virtual.
17  void VIRTUAL G() final {}
18  ^                ~~~~~~
19virtual_base_method_also_final.cpp:16:3: warning: [chromium-style] 'virtual' is redundant; 'final' implies 'virtual'.
20  VIRTUAL_VOID H() final {}
21  ^
22virtual_base_method_also_final.cpp:6:22: note: expanded from macro 'VIRTUAL_VOID'
23#define VIRTUAL_VOID virtual void
24                     ^
25virtual_base_method_also_final.cpp:16:3: warning: [chromium-style] The virtual method does not override anything and is final; consider making it non-virtual.
26virtual_base_method_also_final.cpp:6:22: note: expanded from macro 'VIRTUAL_VOID'
27#define VIRTUAL_VOID virtual void
28                     ^
296 warnings generated.
30