[PATCH] D119648: [clang-format] Fix PointerAlignment within lambdas in a multi-variable declaration statement.
    Marek Kurdej via Phabricator via cfe-commits 
    cfe-commits at lists.llvm.org
       
    Sun Feb 13 00:23:33 PST 2022
    
    
  
curdeius added inline comments.
================
Comment at: clang/unittests/Format/FormatTest.cpp:8415-8417
+  verifyFormat("if (int *p, *q; p != q) {\n  p = p->next;\n}", Style);
+  verifyFormat("/*comment*/ if (int *p, *q; p != q) {\n  p = p->next;\n}",
+               Style);
----------------
owenpan wrote:
> Same as lines 8412-8414.
Some problem with the patch, it wasn't in this commit. Will fix after landing other revisions.
Repository:
  rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D119648/new/
https://reviews.llvm.org/D119648
    
    
More information about the cfe-commits
mailing list