Follow-up from https://github.com/llvm/llvm-project/commit/36d13d3f8adb3d1a6bae71370afa23d11a94dc78; https://reviews.llvm.org/D121451.
Restore the old behavior in situations where we use # as comments and long strings of #'s for comment sections.
Paths
| Differential D122230
[clang-format] don't break up #-style comment sections ClosedPublic Authored by krasimir on Mar 22 2022, 7:03 AM.
Details Summary Follow-up from https://github.com/llvm/llvm-project/commit/36d13d3f8adb3d1a6bae71370afa23d11a94dc78; https://reviews.llvm.org/D121451. Restore the old behavior in situations where we use # as comments and long strings of #'s for comment sections.
Diff Detail
Event TimelineComment Actions I hit something like this today with some code which was //#undef I'm not sure I think that // #undef or //# undef is what I want either This revision is now accepted and ready to land.Mar 22 2022, 7:26 AM This revision was landed with ongoing or failed builds.Mar 22 2022, 7:30 AM Closed by commit rGeb35e0ecbe0a: [clang-format] don't break up #-style comment sections (authored by krasimir). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 417293 clang/lib/Format/BreakableToken.cpp
clang/unittests/Format/FormatTestTextProto.cpp
|