[PATCH] D124036: [clang-format] Don't skip PP lines if original line was a PP line when trying to merge lines
Marek Kurdej via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Apr 19 22:49:57 PDT 2022
curdeius accepted this revision.
curdeius added a comment.
This revision is now accepted and ready to land.
LGTM.
================
Comment at: clang/unittests/Format/FormatTest.cpp:13397
+
+ verifyFormat("//\n"
+ "#define a \\\n"
----------------
aeubanks wrote:
> not sure if you'd like a better test, this was the reduced test case I got that still caused a crash
That's ok for me.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D124036/new/
https://reviews.llvm.org/D124036
More information about the cfe-commits
mailing list