Index: tools/clang/plugins/tests/virtual_dtor_only_override.txt |
diff --git a/tools/clang/plugins/tests/virtual_dtor_only_override.txt b/tools/clang/plugins/tests/virtual_dtor_only_override.txt |
new file mode 100644 |
index 0000000000000000000000000000000000000000..8fd50f8ef627d2ca78c7b3256dba9c8d4bc7428a |
--- /dev/null |
+++ b/tools/clang/plugins/tests/virtual_dtor_only_override.txt |
@@ -0,0 +1,11 @@ |
+virtual_dtor_only_override.cpp:12:3: warning: [chromium-style] destructor is virtual and should be marked as such |
+ ~Derived() OVERRIDE {} |
+ ^ |
+ virtual |
+virtual_dtor_only_override.cpp:12:14: warning: [chromium-style] virtual destructors should not be annotated with 'override' |
+ ~Derived() OVERRIDE {} |
+ ^~~~~~~~~ |
+virtual_dtor_only_override.cpp:1:18: note: expanded from macro 'OVERRIDE' |
+#define OVERRIDE override |
+ ^ |
+2 warnings generated. |