# languages: Add union field declarations to outline in C\+\+ \(\#46127\) · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/658d419afc42c768150c99a324a17719187f0f09)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: 658d419afc42c768150c99a324a17719187f0f09

Requested commit: 658d419afc42c768150c99a324a17719187f0f09

Commit: 658d419afc42c768150c99a324a17719187f0f09

Tree: 55243b514da994d19b334665e97676f8ba56193b

Author: ozacod

Committer: GitHub

## Message

```
languages: Add union field declarations to outline in C++ (#46127)

Before:
<img width="609" height="220" alt="before"
src="https://github.com/user-attachments/assets/2bc10b8c-ecc5-419b-825b-5b7c8440b89b"
/>

After:
<img width="689" height="169" alt="after"
src="https://github.com/user-attachments/assets/ff3de33e-f71c-4fe7-b1ef-df79d935667d"
/>

Release Notes:

- Fixed outline members outline issue of unions for C++
```

## Parents

- [c2b1b9ab6f1ff1c1aadb700d407f5553e337a75c](https://git.cafe/gitcafe/zed/commit/c2b1b9ab6f1ff1c1aadb700d407f5553e337a75c?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/658d419afc42c768150c99a324a17719187f0f09?format=markdown)
