Clang assertion while trying to compile simple Obj-C code

Hello,

After recent changes with ObjC Interface Decl handling, compiling the simple following code trigger an assertion and crash clang (see pr11613).

Can someone have a look at this ? This is a very annoying bug for those who like to play with clang TOT :frowning:

------------- Foo.m
@interface Foo
@end

@class Foo;

@implementation Foo
@end

Fixed in Clang r146976.

  • Doug

Thank you :slight_smile:

– Jean-Daniel