[PATCH] D113319: [clang-format] Improve require handling

Björn Schäpers via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Nov 5 14:03:42 PDT 2021


HazardyKnusperkeks created this revision.
HazardyKnusperkeks added reviewers: MyDeveloperDay, krasimir, curdeius.
HazardyKnusperkeks added a project: clang-format.
HazardyKnusperkeks requested review of this revision.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.

Before this patch the require clause between function and template declaration was written in the same line as the function. I can't believe this is what anyone wants.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D113319

Files:
  clang/lib/Format/FormatToken.h
  clang/lib/Format/TokenAnnotator.cpp
  clang/lib/Format/UnwrappedLineParser.cpp
  clang/lib/Format/UnwrappedLineParser.h
  clang/unittests/Format/FormatTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D113319.385184.patch
Type: text/x-patch
Size: 10303 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20211105/12c7883c/attachment-0001.bin>


More information about the cfe-commits mailing list