diff options
| author | Zinovy Nis <zinovy.nis@gmail.com> | 2018-04-06 20:02:50 +0000 |
|---|---|---|
| committer | Zinovy Nis <zinovy.nis@gmail.com> | 2018-04-06 20:02:50 +0000 |
| commit | 95ea1b05fdacc4148e790dc1c30042818fe3638b (patch) | |
| tree | 9ba529d296e295e637807b339510b827dd52d6fa /llvm/utils/TableGen/CodeGenMapTable.cpp | |
| parent | c884b7187cd84bc0940487ebe320bc76a9902f4e (diff) | |
| download | bcm5719-llvm-95ea1b05fdacc4148e790dc1c30042818fe3638b.tar.gz bcm5719-llvm-95ea1b05fdacc4148e790dc1c30042818fe3638b.zip | |
[clang-tidy] Check if grand-..parent's virtual method was called instead of overridden parent's.
class A {...int virtual foo() {...}...};
class B: public A {...int foo() override {...}...};
class C: public B {...int foo() override {... A::foo()...}};
^^^^^^^^ warning: qualified name A::foo refers to a member overridden in subclass; did you mean 'B'? [bugprone-parent-virtual-call]
Differential Revision: https://reviews.llvm.org/D44295
llvm-svn: 329448
Diffstat (limited to 'llvm/utils/TableGen/CodeGenMapTable.cpp')
0 files changed, 0 insertions, 0 deletions

