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

Side by Side Diff: tools/clang/plugins/tests/virtual_method_overannotated.cpp

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 class Base {
2 public:
3 virtual void F1() = 0;
4 virtual void F2() = 0;
5 virtual void F3() = 0;
6 };
7
8 class Derived : public Base {
9 public:
10 // The three following lines should emit fix-it hints to remove the virtual.
11 virtual void F1() override {}
12 virtual void F2() final {}
13 virtual void F3() override final {}
14 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698