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

Side by Side Diff: tools/clang/plugins/tests/virtual_dtor_only_override.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_override.cpp:12:3: warning: [chromium-style] destructor is vir tual and should be marked as such
2 ~Derived() OVERRIDE {}
3 ^
4 virtual
5 virtual_dtor_only_override.cpp:12:14: warning: [chromium-style] virtual destruct ors should not be annotated with 'override'
6 ~Derived() OVERRIDE {}
7 ^~~~~~~~~
8 virtual_dtor_only_override.cpp:1:18: note: expanded from macro 'OVERRIDE'
9 #define OVERRIDE override
10 ^
11 2 warnings generated.
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698