[PATCH] D40381: Parse concept definition

Nicolas Lesser via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Sun Nov 26 04:52:26 PST 2017


Rakete1111 added inline comments.


================
Comment at: lib/Sema/SemaTemplate.cpp:7693
+Decl *Sema::ActOnConceptDefinition(Scope *S,
+                              MultiTemplateParamsArg TemplateParameterLists,
+                                   IdentifierInfo *Name, SourceLocation L,
----------------
hubert.reinterpretcast wrote:
> changyu wrote:
> > Rakete1111 wrote:
> > > Did you run this through clang-format?
> > No, when I run the file through clang-format (with no arguments except the file), it reformats the whole file. How should I be running clang-format?
> One workflow that works is to clang-format the base file, clang-format with your changes, grab a patch and then apply it to the original base file (probably needs some manual work).
I always copy the code I want to format, then pipe it into clang-format, and the paste it back with some manual adjustments to indentation.


https://reviews.llvm.org/D40381





More information about the cfe-commits mailing list