[PATCH] D32759: Fix errored return value in CheckFunctionReturnType and add a fixit hint

Eli Friedman via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed May 10 12:18:51 PDT 2017


efriedma added a comment.

Our behavior for your testcase is less than ideal (we should be generating an invalid declaration instead of just dropping it on the floor), but that's not something you need to fix here.

Could you also include the Objective-C++ testcase I wrote?  Or does it not work the way I expected?


https://reviews.llvm.org/D32759





More information about the cfe-commits mailing list