Add more ForEachMacros to clang-format file
Checks
Context |
Check |
Description |
linaro-tcwg-bot/tcwg_gcc_build--master-arm |
success
|
Testing passed
|
linaro-tcwg-bot/tcwg_gcc_build--master-aarch64 |
success
|
Testing passed
|
linaro-tcwg-bot/tcwg_gcc_check--master-aarch64 |
success
|
Testing passed
|
linaro-tcwg-bot/tcwg_gcc_check--master-arm |
success
|
Testing passed
|
Commit Message
Hi,
This patch adds some missed ForEachMacros to the contrib/clang-format file,
which allows the clang-format tool to format gcc code correctly.
Best,
Lehua
---
contrib/clang-format | 10 +++++++++-
1 file changed, 9 insertions(+), 1 deletion(-)
Comments
On 6/2/23 07:20, Lehua Ding wrote:
> Hi,
>
> This patch adds some missed ForEachMacros to the contrib/clang-format file,
> which allows the clang-format tool to format gcc code correctly.
>
> Best,
> Lehua
>
> ---
> contrib/clang-format | 10 +++++++++-
> 1 file changed, 9 insertions(+), 1 deletion(-)
Thanks. I created a ChangeLog entry and pushed this patch to the trunk.
jeff
@@ -194,7 +194,15 @@ ForEachMacros: [
'FOR_EACH_WIDER_MODE',
'FOR_EXPR',
'FOR_INIT_STMT',
-'FOR_SCOPE'
+'FOR_SCOPE',
+'EXECUTE_IF_SET_IN_BITMAP',
+'EXECUTE_IF_AND_IN_BITMAP',
+'EXECUTE_IF_AND_COMPL_IN_BITMAP',
+'EXECUTE_IF_SET_IN_REG_SET',
+'EXECUTE_IF_SET_IN_HARD_REG_SET',
+'EXECUTE_IF_AND_COMPL_IN_REG_SET',
+'EXECUTE_IF_AND_IN_REG_SET',
+'EXECUTE_IF_SET_IN_SPARSESET'
]
IndentCaseLabels: false
NamespaceIndentation: None