文本文件  |  76行  |  3.56 KB

virtual_specifiers.cpp:39:22: warning: [chromium-style] Overriding method must be marked with 'override' or 'final'.
  ~MissingOverride() {}
                     ^
                      override
virtual_specifiers.cpp:40:12: warning: [chromium-style] Overriding method must be marked with 'override' or 'final'.
  void F() {}
           ^
            override
virtual_specifiers.cpp:46:3: warning: [chromium-style] 'virtual' is redundant; 'override' implies 'virtual'.
  virtual ~VirtualAndOverride() OVERRIDE {}
  ^~~~~~~~
virtual_specifiers.cpp:47:3: warning: [chromium-style] 'virtual' is redundant; 'override' implies 'virtual'.
  virtual void F() OVERRIDE {}
  ^~~~~~~~
virtual_specifiers.cpp:52:3: warning: [chromium-style] 'virtual' is redundant; 'final' implies 'virtual'.
  virtual ~VirtualAndFinal() FINAL {}
  ^~~~~~~~
virtual_specifiers.cpp:53:3: warning: [chromium-style] 'virtual' is redundant; 'final' implies 'virtual'.
  virtual void F() FINAL {}
  ^~~~~~~~
virtual_specifiers.cpp:58:38: warning: [chromium-style] 'override' is redundant; 'final' implies 'override'.
  virtual ~VirtualAndOverrideFinal() OVERRIDE FINAL {}
                                     ^~~~~~~~~
virtual_specifiers.cpp:13:18: note: expanded from macro 'OVERRIDE'
#define OVERRIDE override
                 ^
virtual_specifiers.cpp:58:3: warning: [chromium-style] 'virtual' is redundant; 'final' implies 'virtual'.
  virtual ~VirtualAndOverrideFinal() OVERRIDE FINAL {}
  ^~~~~~~~
virtual_specifiers.cpp:59:20: warning: [chromium-style] 'override' is redundant; 'final' implies 'override'.
  virtual void F() OVERRIDE FINAL {}
                   ^~~~~~~~~
virtual_specifiers.cpp:13:18: note: expanded from macro 'OVERRIDE'
#define OVERRIDE override
                 ^
virtual_specifiers.cpp:59:3: warning: [chromium-style] 'virtual' is redundant; 'final' implies 'virtual'.
  virtual void F() OVERRIDE FINAL {}
  ^~~~~~~~
virtual_specifiers.cpp:64:23: warning: [chromium-style] 'override' is redundant; 'final' implies 'override'.
  ~OverrideAndFinal() OVERRIDE FINAL {}
                      ^~~~~~~~~
virtual_specifiers.cpp:13:18: note: expanded from macro 'OVERRIDE'
#define OVERRIDE override
                 ^
virtual_specifiers.cpp:65:12: warning: [chromium-style] 'override' is redundant; 'final' implies 'override'.
  void F() OVERRIDE FINAL {}
           ^~~~~~~~~
virtual_specifiers.cpp:13:18: note: expanded from macro 'OVERRIDE'
#define OVERRIDE override
                 ^
virtual_specifiers.cpp:70:20: warning: [chromium-style] Overriding method must be marked with 'override' or 'final'.
  virtual void F() = 0;
                   ^
                    override
virtual_specifiers.cpp:70:3: warning: [chromium-style] 'virtual' will be redundant; 'override' implies 'virtual'.
  virtual void F() = 0;
  ^~~~~~~~
virtual_specifiers.cpp:74:12: warning: [chromium-style] Overriding method must be marked with 'override' or 'final'.
  void F() = 0;
           ^
            override
virtual_specifiers.cpp:82:3: warning: [chromium-style] 'virtual' is redundant; 'override' implies 'virtual'.
  virtual void F() override = 0;
  ^~~~~~~~
virtual_specifiers.cpp:111:20: warning: [chromium-style] Overriding method must be marked with 'override' or 'final'.
  virtual ~MyTest();
                   ^
                    override
virtual_specifiers.cpp:111:3: warning: [chromium-style] 'virtual' will be redundant; 'override' implies 'virtual'.
  virtual ~MyTest();
  ^~~~~~~~
virtual_specifiers.cpp:112:3: warning: [chromium-style] 'virtual' is redundant; 'override' implies 'virtual'.
  virtual void SetUp() override;
  ^~~~~~~~
19 warnings generated.