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(-) diff --git a/contrib/clang-format b/contrib/clang-format index 5d264aee3c6..8cfee99cd15 100644 --- a/contrib/clang-format +++ b/contrib/clang-format @@ -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 -- 2.36.1