summaryrefslogtreecommitdiffstats
path: root/tools/clang/plugins/tests/virtual_methods.txt
blob: baa791f6b84a52a86bc30fd47b6b06fa55b7c84d (plain)
1
2
3
4
5
6
7
8
In file included from virtual_methods.cpp:5:
./virtual_methods.h:17:36: warning: [chromium-style] virtual methods with non-empty bodies shouldn't be declared inline.
  virtual bool ComplainAboutThis() { return true; }
                                   ^
./virtual_methods.h:23:3: warning: [chromium-style] Overridden method must have "virtual" keyword.
  void MethodHasNoArguments();
  ^
2 warnings generated.