[PATCH] D135372: [clang-format] Fix for #58188

sstwcw via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Oct 6 09:32:21 PDT 2022


sstwcw added a comment.

The problem that remains is this, as I explained in the issue.  The second branch of the second block is not indented.

  #if 1
  {
  #endif
  #if X
    x;
  #else
  x;
  #endif
  }

I didn't add a test case because I was not expecting this patch to be committed as there is still a problem.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D135372/new/

https://reviews.llvm.org/D135372



More information about the cfe-commits mailing list