[cfe-dev] Strange return value of Sema::CheckFunctionReturnType

陳韋任 via cfe-dev cfe-dev at lists.llvm.org
Tue May 2 08:08:28 PDT 2017


2017-05-02 22:41 GMT+08:00 mats petersson <mats at planetcatfish.com>:
> Looks like a bug to me. It should return `true`. I was going to say that
> it's a minor bug, (where `0` and `false` are possible to convert in either
> direction, but it's actually returning an incorrect result.
>
> A patch to fix this, and adding a test-case would probably be appreciated.

Would be happy to. But I never use Objective-C, writing a test case would be
hard to me...

-- 
Wei-Ren Chen (陳韋任)
Homepage: https://people.cs.nctu.edu.tw/~chenwj



More information about the cfe-dev mailing list