[PATCH] D44295: [clang-tidy] Detects and fixes calls to grand-...parent virtual methods instead of calls to parent's virtual methods
Zinovy Nis via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Mar 26 12:17:21 PDT 2018
zinovy.nis updated this revision to Diff 139834.
zinovy.nis added a comment.
- Updated warning message to
> warning: qualified name 'A::foo' refers to a member overridden in subclass; did you mean 'B'? [bugprone-parent-virtual-call]
https://reviews.llvm.org/D44295
Files:
clang-tidy/bugprone/BugproneTidyModule.cpp
clang-tidy/bugprone/CMakeLists.txt
clang-tidy/bugprone/ParentVirtualCallCheck.cpp
clang-tidy/bugprone/ParentVirtualCallCheck.h
docs/ReleaseNotes.rst
docs/clang-tidy/checks/bugprone-parent-virtual-call.rst
docs/clang-tidy/checks/list.rst
test/clang-tidy/bugprone-parent-virtual-call.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D44295.139834.patch
Type: text/x-patch
Size: 17445 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20180326/11d0b129/attachment-0001.bin>
More information about the cfe-commits
mailing list