================ @@ -396,6 +396,36 @@ struct FormatStyle { /// \version 17 ShortCaseStatementsAlignmentStyle AlignConsecutiveShortCaseStatements; + /// Style of aligning consecutive TableGen cond operator colons. + /// \code + /// !cond(!eq(size, 1) : 1, + /// !eq(size, 16): 1, + /// true : 0) + /// \endcode + /// \version 18 + AlignConsecutiveStyle AlignConsecutiveTableGenCondOperatorColons; + + /// Style of aligning consecutive TableGen DAGArg operator colons. + /// Intended to be used with TableGenBreakInsideDAGArgList + /// \code + /// let dagarg = (ins + /// a :$src1, + /// aa :$src2, + /// aaa:$src3 + /// ) + /// \endcode + /// \version 18 + AlignConsecutiveStyle AlignConsecutiveTableGenBreakingDAGArgColons; + + /// Style of aligning consecutive TableGen def colons. + /// \code + /// def Def : Parent {} + /// def DefDef : Parent {} + /// def DefDefDef : Parent {} + /// \endcode + /// \version 18 + AlignConsecutiveStyle AlignConsecutiveTableGenDefinitions; ---------------- HazardyKnusperkeks wrote:
Couldn't you reuse `AlignConsecutiveDeclarations` and handle table gen there? https://github.com/llvm/llvm-project/pull/76059 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits