aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/StackProtector.cpp
diff options
context:
space:
mode:
authorZinovy Nis <zinovy.nis@gmail.com>2018-04-06 20:02:50 +0000
committerZinovy Nis <zinovy.nis@gmail.com>2018-04-06 20:02:50 +0000
commit95ea1b05fdacc4148e790dc1c30042818fe3638b (patch)
tree9ba529d296e295e637807b339510b827dd52d6fa /llvm/lib/CodeGen/StackProtector.cpp
parentc884b7187cd84bc0940487ebe320bc76a9902f4e (diff)
downloadllvm-95ea1b05fdacc4148e790dc1c30042818fe3638b.zip
llvm-95ea1b05fdacc4148e790dc1c30042818fe3638b.tar.gz
llvm-95ea1b05fdacc4148e790dc1c30042818fe3638b.tar.bz2
[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/lib/CodeGen/StackProtector.cpp')
0 files changed, 0 insertions, 0 deletions