[cfe-dev] [PATCH] extend __interface support

João Matos ripzonetriton at gmail.com
Mon Aug 13 01:20:14 PDT 2012


On Mon, Aug 13, 2012 at 8:11 AM, Eli Friedman <eli.friedman at gmail.com>wrote:
>
> Do clang's diagnostics with your patch match MSVC's diagnostics for
> examples like the following?
>
> __interface X;
> struct X;
> __interface Y;
> class Y;
>

MSVC does not seem to emit any diagnostics in these cases, although maybe
we should (maybe a warning).


 On Mon, Aug 13, 2012 at 8:39 AM, John McCall <rjmccall at apple.com> wrote:

> Is this implicitly an answer to my previous message?  That is, are you
> saying that __interface cannot be used in elaborated type specifiers?
> Please do test this;  the right way to model this feature depends on
> how it fits in the language.
>
> John.


I tested this and __interface can be used as an elaborated type specifier.

-- 
João Matos
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20120813/0a6f605e/attachment.html>


More information about the cfe-dev mailing list