[clang] [clang-format] Add Options to break inside the TableGen DAGArg. (PR #83149)
Hirofumi Nakamura via cfe-commits
cfe-commits at lists.llvm.org
Sun Mar 17 01:31:55 PDT 2024
================
@@ -1842,6 +1846,19 @@ void ContinuationIndenter::moveStatePastScopeOpener(LineState &State,
Style.ContinuationIndentWidth +
std::max(CurrentState.LastSpace, CurrentState.StartOfFunctionCall);
+ if (Style.isTableGen()) {
+ if (Current.is(TT_TableGenDAGArgOpenerToBreak) &&
+ Style.TableGenBreakInsideDAGArg == FormatStyle::DAS_BreakElements) {
----------------
hnakamura5 wrote:
Changed as suggested.
https://github.com/llvm/llvm-project/pull/83149
More information about the cfe-commits
mailing list