Index: tools/clang/plugins/tests/overridden_methods.cpp |
diff --git a/tools/clang/plugins/tests/overridden_methods.cpp b/tools/clang/plugins/tests/overridden_methods.cpp |
index 8b0340c1f33ab1178da48d1168294d2d12733091..398d6a427182edf32166951d0af0464edf50c1f5 100644 |
--- a/tools/clang/plugins/tests/overridden_methods.cpp |
+++ b/tools/clang/plugins/tests/overridden_methods.cpp |
@@ -11,19 +11,19 @@ void DerivedClass::WebKitModifiedSomething() {} |
class ImplementationInterimClass : public BaseClass { |
public: |
- // Should warn about pure virtual methods. |
+ // Should not warn about pure virtual methods. |
virtual void SomeMethod() = 0; |
}; |
class ImplementationDerivedClass : public ImplementationInterimClass, |
public webkit_glue::WebKitObserverImpl { |
public: |
- // Should warn about destructors. |
+ // Should not warn about destructors. |
virtual ~ImplementationDerivedClass() {} |
// Should warn. |
virtual void SomeMethod(); |
// Should not warn if marked as override. |
- void SomeOtherMethod() override; |
+ virtual void SomeOtherMethod() override; |
// Should not warn for inline implementations in implementation files. |
virtual void SomeInlineMethod() {} |
// Should not warn if overriding a method whose origin is blink. |