[clang] [clang-format] Fix TableGen nested DAGArg format (PR #155837)
via cfe-commits
cfe-commits at lists.llvm.org
Thu Aug 28 19:59:12 PDT 2025
================
@@ -185,11 +185,18 @@ TEST_F(FormatTestTableGen, SimpleValue6) {
" i32:$dst6, // dst6\n"
" i32:$dst7 // dst7\n"
" );\n"
- " let DAGArgBang = (!cast<SomeType>(\"Some\") i32:$src1,\n"
- " i32:$src2);\n"
+ " let DAGArgBang =\n"
+ " (!cast<SomeType>(\"Some\") i32:$src1, i32:$src2);\n"
----------------
owenca wrote:
Why does the line wrapping change (for better?) here now?
https://github.com/llvm/llvm-project/pull/155837
More information about the cfe-commits
mailing list