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

Unified Diff: tools/clang/plugins/tests/overridden_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: . Created 6 years, 3 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 side-by-side diff with in-line comments
Download patch
Index: tools/clang/plugins/tests/overridden_method_also_final.txt
diff --git a/tools/clang/plugins/tests/overridden_method_also_final.txt b/tools/clang/plugins/tests/overridden_method_also_final.txt
new file mode 100644
index 0000000000000000000000000000000000000000..425c769efd44b92b1309786f669c83c343efc1c8
--- /dev/null
+++ b/tools/clang/plugins/tests/overridden_method_also_final.txt
@@ -0,0 +1,4 @@
+overridden_method_also_final.cpp:11:12: warning: [chromium-style] 'override' is redundant; 'final' implies 'override'.
+ void F() override final {}
+ ^~~~~~~~~
+1 warning generated.

Powered by Google App Engine
This is Rietveld 408576698