Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(309)

Side by Side Diff: tools/clang/plugins/tests/overridden_methods.txt

Issue 10076002: Check implementation files for virtual and OVERRIDE (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Copyright bump Created 8 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 In file included from overridden_methods.cpp:5: 1 In file included from overridden_methods.cpp:5:
2 ./overridden_methods.h:43:11: warning: [chromium-style] Overriding method must b e marked with OVERRIDE. 2 ./overridden_methods.h:43:11: warning: [chromium-style] Overriding method must b e marked with OVERRIDE.
3 virtual void SomeMethod(); 3 virtual void SomeMethod();
4 ^ 4 ^
5 ./overridden_methods.h:47:11: warning: [chromium-style] Overriding method must b e marked with OVERRIDE. 5 ./overridden_methods.h:47:11: warning: [chromium-style] Overriding method must b e marked with OVERRIDE.
6 virtual void SomeInlineMethod() {} 6 virtual void SomeInlineMethod() {}
7 ^ 7 ^
8 ./overridden_methods.h:51:11: warning: [chromium-style] Overriding method must b e marked with OVERRIDE. 8 ./overridden_methods.h:51:11: warning: [chromium-style] Overriding method must b e marked with OVERRIDE.
9 virtual void SomeNonPureBaseMethod() {} 9 virtual void SomeNonPureBaseMethod() {}
10 ^ 10 ^
11 3 warnings generated. 11 overridden_methods.cpp:24:11: warning: [chromium-style] Overriding method must b e marked with OVERRIDE.
12 virtual void SomeMethod();
13 ^
14 overridden_methods.cpp:28:11: warning: [chromium-style] Overriding method must b e marked with OVERRIDE.
15 virtual void SomeInlineMethod() {}
16 ^
17 overridden_methods.cpp:32:11: warning: [chromium-style] Overriding method must b e marked with OVERRIDE.
18 virtual void SomeNonPureBaseMethod() {}
19 ^
20 6 warnings generated.
OLDNEW
« no previous file with comments | « tools/clang/plugins/tests/overridden_methods.cpp ('k') | tools/clang/plugins/tests/virtual_methods.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698