summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorEli Friedman <eli.friedman@gmail.com>2013-09-05 23:51:03 +0000
committerEli Friedman <eli.friedman@gmail.com>2013-09-05 23:51:03 +0000
commitaf65120bd3825ed7548108618cc709ba22102439 (patch)
tree373d9247be356344a8d77f549fc02db94d109d2e /llvm/lib
parentc27d0d5ef26adc71074b699da9a12e78970fbaee (diff)
downloadbcm5719-llvm-af65120bd3825ed7548108618cc709ba22102439.tar.gz
bcm5719-llvm-af65120bd3825ed7548108618cc709ba22102439.zip
Improve error for "override" + non-virtual func.
Consider something like the following: struct X { virtual void foo(float x); }; struct Y : X { void foo(double x) override; }; The error is almost certainly that Y::foo() has the wrong signature, rather than incorrect usage of the override keyword. This patch adds an appropriate diagnostic for that case. Fixes <rdar://problem/14785106>. llvm-svn: 190109
Diffstat (limited to 'llvm/lib')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud