[PATCH] D133635: [clang-format] Don't insert braces for loops with a null statement
sstwcw via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Sep 13 14:04:20 PDT 2022
sstwcw added inline comments.
================
Comment at: clang/unittests/Format/FormatTest.cpp:25370
+ "#if 0\n"
+ " if (a) {\n"
+ "#else\n"
----------------
Can you confirm that there is supposed to be only one space here while there are two in the next test? `messUp` turns two spaces into one space. The formatter doesn't change things inside the `#if 0` block, both before and after D133647.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D133635/new/
https://reviews.llvm.org/D133635
More information about the cfe-commits
mailing list