[clang] [clang-format] Support of TableGen formatting. (PR #76059)

Emilia Kond via cfe-commits cfe-commits at lists.llvm.org
Fri Dec 22 07:12:18 PST 2023


================
@@ -4753,6 +4793,13 @@ struct FormatStyle {
            AlignConsecutiveMacros == R.AlignConsecutiveMacros &&
            AlignConsecutiveShortCaseStatements ==
                R.AlignConsecutiveShortCaseStatements &&
+           AlignConsecutiveTableGenCondOperatorColons ==
+               R.AlignConsecutiveTableGenCondOperatorColons &&
+           AlignConsecutiveTableGenBreakingDAGArgColons ==
+               R.AlignConsecutiveTableGenBreakingDAGArgColons &&
+           AlignConsecutiveTableGenDefinitions ==
+               R.AlignConsecutiveTableGenDefinitions &&
+           AlignConsecutiveMacros == R.AlignConsecutiveMacros &&
----------------
rymiel wrote:

Small copy paste error, I'm assuming, AlignConsecutiveMacros has already been checked.
Also, these options should be alphabetical in order

https://github.com/llvm/llvm-project/pull/76059


More information about the cfe-commits mailing list