HomePhabricator

Fix errored return value in CheckFunctionReturnType and add a fixit hint

Authored by erichkeane on May 10 2017, 1:03 PM.

Description

Fix errored return value in CheckFunctionReturnType and add a fixit hint

As discovered by ChenWJ and listed on cfe-dev, the error for Objective C
return type ended up being wrong. This fixes that. Additionally, as a
"while we're there", the other usages of this error and the usage of the
FP above both use a FixItHint, so I'll add it here.

Differential Revision: https://reviews.llvm.org/D32759

llvm-svn: 302720

Details

Committed
erichkeaneMay 10 2017, 1:03 PM
Differential Revision
D32759: Fix errored return value in CheckFunctionReturnType and add a fixit hint
Parents
rG42ec5b9728e3: Remove unused #include.
Branches
Unknown
Tags
Unknown