[PATCH] D140312: [clang-format] Disallow decltype in the middle of constraints

Björn Schäpers via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Dec 20 12:01:28 PST 2022


HazardyKnusperkeks added inline comments.


================
Comment at: clang/lib/Format/UnwrappedLineParser.cpp:3494
 ///
 /// This is either the definition of a concept, or the body of a requires
 /// clause. It returns, when the parsing is complete, or the expression is
----------------
HazardyKnusperkeks wrote:
> The comment needs to be adapted.
> 
> But I think it could just be merged into the parsing of the requires clause, or not?
Actually this needs to be done on D140339.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D140312



More information about the cfe-commits mailing list