Index: tools/clang/plugins/tests/virtual_dtor_only_virtual.txt |
diff --git a/tools/clang/plugins/tests/virtual_dtor_only_virtual.txt b/tools/clang/plugins/tests/virtual_dtor_only_virtual.txt |
new file mode 100644 |
index 0000000000000000000000000000000000000000..05872583f2f17a9306417eb92c8c6f4fbbd167b2 |
--- /dev/null |
+++ b/tools/clang/plugins/tests/virtual_dtor_only_virtual.txt |
@@ -0,0 +1,13 @@ |
+virtual_dtor_only_virtual.cpp:12:22: warning: [chromium-style] virtual destructors should not be annotated with 'override' |
+ virtual ~Derived() OVERRIDE FINAL {} |
+ ^~~~~~~~~ |
+virtual_dtor_only_virtual.cpp:1:18: note: expanded from macro 'OVERRIDE' |
+#define OVERRIDE override |
+ ^ |
+virtual_dtor_only_virtual.cpp:12:31: warning: [chromium-style] virtual destructors should not be annotated with 'final' |
+ virtual ~Derived() OVERRIDE FINAL {} |
+ ^~~~~~ |
+virtual_dtor_only_virtual.cpp:2:15: note: expanded from macro 'FINAL' |
+#define FINAL final |
+ ^ |
+2 warnings generated. |