summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/X86/extract-concat.ll
diff options
context:
space:
mode:
authorDavid Blaikie <dblaikie@gmail.com>2012-10-17 23:45:39 +0000
committerDavid Blaikie <dblaikie@gmail.com>2012-10-17 23:45:39 +0000
commitea4d2590417baba3c6d5cad7043f8594faf2ac68 (patch)
tree57535a3521dd525a7dc0cf17469bd8f48eabb3ae /llvm/test/CodeGen/X86/extract-concat.ll
parent7857415785c2518eb75e782312198c7c71416a12 (diff)
downloadbcm5719-llvm-ea4d2590417baba3c6d5cad7043f8594faf2ac68.tar.gz
bcm5719-llvm-ea4d2590417baba3c6d5cad7043f8594faf2ac68.zip
Fix -Woverloaded-virtual when the using statement refers to a base declaration of a virtual function.
GCC and Clang both do not warn on: struct a { virtual void func(); }; struct b: a { virtual void func(); void func(int); }; struct c: b { void func(int); using b::func; }; but if the "using" was using a::func GCC would still remain silent where Clang would warn. This change makes Clang consistent with GCC's existing behavior. llvm-svn: 166154
Diffstat (limited to 'llvm/test/CodeGen/X86/extract-concat.ll')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud