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

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

Issue 597863002: Update plugin to handle new style rules for virtual annotations. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 6 years, 2 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
OLDNEW
(Empty)
1 virtual_dtor_only_virtual.cpp:12:22: warning: [chromium-style] virtual destructo rs should not be annotated with 'override'
2 virtual ~Derived() OVERRIDE FINAL {}
3 ^~~~~~~~~
4 virtual_dtor_only_virtual.cpp:1:18: note: expanded from macro 'OVERRIDE'
5 #define OVERRIDE override
6 ^
7 virtual_dtor_only_virtual.cpp:12:31: warning: [chromium-style] virtual destructo rs should not be annotated with 'final'
8 virtual ~Derived() OVERRIDE FINAL {}
9 ^~~~~~
10 virtual_dtor_only_virtual.cpp:2:15: note: expanded from macro 'FINAL'
11 #define FINAL final
12 ^
13 2 warnings generated.
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698