Home | History | Annotate | Download | only in tests
      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;
      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
     90 overridden_methods.cpp:17:29: warning: [chromium-style] Overriding method must be marked with 'override' or 'final'.
     91   virtual void SomeMethod() = 0;
     92                             ^
     93                              override
     94 overridden_methods.cpp:17:3: warning: [chromium-style] 'virtual' will be redundant; 'override' implies 'virtual'.
     95   virtual void SomeMethod() = 0;
     96   ^~~~~~~~
     97 overridden_methods.cpp:24:41: warning: [chromium-style] Overriding method must be marked with 'override' or 'final'.
     98   virtual ~ImplementationDerivedClass() {}
     99                                         ^
    100                                          override
    101 overridden_methods.cpp:24:3: warning: [chromium-style] 'virtual' will be redundant; 'override' implies 'virtual'.
    102   virtual ~ImplementationDerivedClass() {}
    103   ^~~~~~~~
    104 overridden_methods.cpp:26:28: warning: [chromium-style] Overriding method must be marked with 'override' or 'final'.
    105   virtual void SomeMethod();
    106                            ^
    107                             override
    108 overridden_methods.cpp:26:3: warning: [chromium-style] 'virtual' will be redundant; 'override' implies 'virtual'.
    109   virtual void SomeMethod();
    110   ^~~~~~~~
    111 overridden_methods.cpp:30:35: warning: [chromium-style] Overriding method must be marked with 'override' or 'final'.
    112   virtual void SomeInlineMethod() {}
    113                                   ^
    114                                    override
    115 overridden_methods.cpp:30:3: warning: [chromium-style] 'virtual' will be redundant; 'override' implies 'virtual'.
    116   virtual void SomeInlineMethod() {}
    117   ^~~~~~~~
    118 overridden_methods.cpp:32:41: warning: [chromium-style] Overriding method must be marked with 'override' or 'final'.
    119   virtual void WebKitModifiedSomething();
    120                                         ^
    121                                          override
    122 overridden_methods.cpp:32:3: warning: [chromium-style] 'virtual' will be redundant; 'override' implies 'virtual'.
    123   virtual void WebKitModifiedSomething();
    124   ^~~~~~~~
    125 overridden_methods.cpp:34:40: warning: [chromium-style] Overriding method must be marked with 'override' or 'final'.
    126   virtual void SomeConstMethod() const {}
    127                                        ^
    128                                         override
    129 overridden_methods.cpp:34:3: warning: [chromium-style] 'virtual' will be redundant; 'override' implies 'virtual'.
    130   virtual void SomeConstMethod() const {}
    131   ^~~~~~~~
    132 overridden_methods.cpp:36:54: warning: [chromium-style] Overriding method must be marked with 'override' or 'final'.
    133   virtual void SomeMethodWithExceptionSpec() throw() {}
    134                                                      ^
    135                                                       override
    136 overridden_methods.cpp:36:3: warning: [chromium-style] 'virtual' will be redundant; 'override' implies 'virtual'.
    137   virtual void SomeMethodWithExceptionSpec() throw() {}
    138   ^~~~~~~~
    139 overridden_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
    143 overridden_methods.cpp:39:3: warning: [chromium-style] 'virtual' will be redundant; 'override' implies 'virtual'.
    144   virtual void SomeConstMethodWithExceptionSpec() const throw(int) {}
    145   ^~~~~~~~
    146 overridden_methods.cpp:41:40: warning: [chromium-style] Overriding method must be marked with 'override' or 'final'.
    147   virtual void SomeNonPureBaseMethod() {}
    148                                        ^
    149                                         override
    150 overridden_methods.cpp:41:3: warning: [chromium-style] 'virtual' will be redundant; 'override' implies 'virtual'.
    151   virtual void SomeNonPureBaseMethod() {}
    152   ^~~~~~~~
    153 overridden_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
    157 overridden_methods.cpp:43:3: warning: [chromium-style] 'virtual' will be redundant; 'override' implies 'virtual'.
    158   virtual void SomeMethodWithComment();  // This is a comment.
    159   ^~~~~~~~
    160 overridden_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
    164 overridden_methods.cpp:45:3: warning: [chromium-style] 'virtual' will be redundant; 'override' implies 'virtual'.
    165   virtual void SomeMethodWithCommentAndBody() {}  // This is a comment.
    166   ^~~~~~~~
    167 47 warnings generated.
    168