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

Side by Side Diff: tools/clang/plugins/tests/virtual_base_method_also_final.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: s/annotation/specifier/g 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_base_method_also_final.cpp:3:3: warning: [chromium-style] virtual is red undant; 'final' implies virtual.
2 virtual void F() final {}
3 ^~~~~~~~
4 virtual_base_method_also_final.cpp:3:3: warning: [chromium-style] a virtual meth od on a base class should not also be final; method should be devirtualized
5 virtual void F() final {}
6 ^~~~~~~~ ~~~~~~
7 2 warnings generated.
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698