<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/55154>55154</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
[clang-format] AlignArrayOfStructures does not respect other flags
</td>
</tr>
<tr>
<th>Labels</th>
<td>
new issue
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
tiagomacarios
</td>
</tr>
</table>
<pre>
With this clang-format config:
```
AlignArrayOfStructures: Left
IndentWidth: 4
SpaceBeforeCpp11BracedList: true
TabWidth: 4
UseTab: ForContinuationAndIndentation
```
I would expect the following formatting:
```
static type arr[] = {
{ fun(arg), arg },
{ fun(arg), arg },
{ fun(arg), arg },
{ fun(arg), arg },
{ fun(arg), arg },
{ fun(arg), arg },
{ fun(arg), arg },
};
```
note: code above use tabs
This is what I see instead:
```
static type arr[] = {
{fun(arg), arg},
{fun(arg), arg},
{fun(arg), arg},
{fun(arg), arg},
{fun(arg), arg},
{fun(arg), arg},
{fun(arg), arg},
};
```
note: there is a mix of tabs and spaces
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJzlVE2L4zAM_TXJRUxJnCZtDzn0g8LAwB5mljkrsZJ4ce1gO9Ppv185nWHL0oWFhblscBLJfpaeJFuNlZf6VYUBwqA8tBpN_9BZd8IArTWd6pNim2SHJNsmVfYxZnWrVW-2zuHlW_cc3NSGyZFnNDxRF66YRyPJhFclwxAXltfZ5xFb2hF7of045vnOsS6flA8RxKboinvB5vet3z3xbJw4Wre3JigzYVDWbI28Opu1u4Q_KMHZTloCvY_UBo6aoLNa27MyPVwDZ6N_jNpHBy2Ey0iAziXlLikPkBT8rnaffjYsQzeZRKzR9YnYJGLP6J4xBxb_OxjLxe5uOo0NFKvZWsn5bOwbweQJAjb-tmgv8WzyOA98LB_BE4EyPhDKf67THfK33IGfr0V9Oa2_KA_fEkexAAgn9Q62mysEaCT4eJl9KutCbooNpkEFTTXn-7aVxNzf7xcgLX_YD7Ay30gbnUGnsffp5HQ9hDDGtpKII4-eW9XULFp7YkXrt8_fw-jsD97OqvJ-4kYkjmWZl8t0qNfNZllVVK0kYlEhdeullGLVoazyAvMy1diQ9pF0IoShM8wmWGbeqapFJkS2FCuRlXleLrpuvSmzCmXerooVH8FlRidUehF5LKzrU1fPlJqp97youbH5X4voPSeC5hxF-ziFwbo6KOztCVt0yvp0JlDPAfwEHeqazg">