[PATCH] D44295: [clang-tidy] Detects and fixes calls to grand-...parent virtual methods instead of calls to parent's virtual methods

Alexander Kornienko via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Mar 23 07:43:32 PDT 2018


alexfh added inline comments.


================
Comment at: docs/clang-tidy/checks/bugprone-parent-virtual-call.rst:26
+  int foo() override {... A::foo()...}
+                          ^^^^^^^^ warning: qualified name A::foo refers to a
+                                            member which was overridden in 
----------------
The formatting looks weird. Could you move `warning: .*` to the start of the next line and put the whole message on the same line?


Repository:
  rCTE Clang Tools Extra

https://reviews.llvm.org/D44295





More information about the cfe-commits mailing list