Chromium Code Reviews| Index: tools/clang/plugins/tests/virtual_bodies.txt |
| diff --git a/tools/clang/plugins/tests/virtual_bodies.txt b/tools/clang/plugins/tests/virtual_bodies.txt |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..121d1a96aab5cf53d00f012cac39ff36f143ef7d |
| --- /dev/null |
| +++ b/tools/clang/plugins/tests/virtual_bodies.txt |
| @@ -0,0 +1,5 @@ |
| +In file included from virtual_bodies.cpp:5: |
| +./virtual_bodies.h:17:36: warning: [chromium-style] virtual methods with non-empty bodies shouldn't be declared inline. |
| + virtual bool ComplainAboutThis() { return true; } |
| + ^ |
| +1 warning generated. |