| Index: tools/clang/plugins/FindBadConstructsConsumer.cpp
|
| diff --git a/tools/clang/plugins/FindBadConstructsConsumer.cpp b/tools/clang/plugins/FindBadConstructsConsumer.cpp
|
| index c4219a1ff233faa6c83887415b37cf6172aa645a..a3c6e7f4f14b9316dd432cd5f6ff9bf03e1f7320 100644
|
| --- a/tools/clang/plugins/FindBadConstructsConsumer.cpp
|
| +++ b/tools/clang/plugins/FindBadConstructsConsumer.cpp
|
| @@ -101,13 +101,11 @@ void FindBadConstructsConsumer::CheckChromeClass(SourceLocation record_location,
|
| CheckCtorDtorWeight(record_location, record);
|
| }
|
|
|
| - if (!implementation_file || options_.check_virtuals_in_implementations) {
|
| - bool warn_on_inline_bodies = !implementation_file;
|
| + bool warn_on_inline_bodies = !implementation_file;
|
|
|
| - // Check that all virtual methods are marked accordingly with both
|
| - // virtual and OVERRIDE.
|
| - CheckVirtualMethods(record_location, record, warn_on_inline_bodies);
|
| - }
|
| + // Check that all virtual methods are marked accordingly with both
|
| + // virtual and OVERRIDE.
|
| + CheckVirtualMethods(record_location, record, warn_on_inline_bodies);
|
|
|
| CheckRefCountedDtors(record_location, record);
|
|
|
|
|