Clang crashes when compiling the following program: `clang++ -fobjc-arc -std=c++11 -o main.o main.mm`

```
#import <Foundation/Foundation.h>

@interface Foo : NSObject
@end

@implementation Foo
{
    id _bar;
}

- (void)captureBar
{
    (void) ^{
        struct
        {
            id bar = _bar;
        } fb;
    };
}
@end
```
## Version
This clang came with Xcode 15.2.
```
Apple clang version 15.0.0 (clang-1500.1.0.2.5)
Target: arm64-apple-darwin23.5.0
Thread model: posix
```
Clang crashes when compiling Objective C++ BLOCK capturing and using outer ivar in a class member initializer
This is a GitHub Issue
repo:llvm-project
owner:llvm
Title : Clang crashes when compiling Objective C++ BLOCK capturing and using outer ivar in a class member initializer
Issue date:

--- start body ---
Clang crashes when compiling the following program: `clang++ -fobjc-arc -std=c++11 -o main.o main.mm`

```
#import <Foundation/Foundation.h>

@interface Foo : NSObject
@end

@implementation Foo
{
    id _bar;
}

- (void)captureBar
{
    (void) ^{
        struct
        {
            id bar = _bar;
        } fb;
    };
}
@end
```
## Version
This clang came with Xcode 15.2.
```
Apple clang version 15.0.0 (clang-1500.1.0.2.5)
Target: arm64-apple-darwin23.5.0
Thread model: posix
```
--- end body ---
