[PATCH] D104388: [clang-format] PR50727 C# Invoke Lamda Expression indentation incorrect

Eliza Velasquez via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Jun 23 11:53:37 PDT 2021


exv accepted this revision.
exv added a comment.
This revision is now accepted and ready to land.

I have a few concerns about this implementation:

- If the incorrect formatting is due to `lock` and `using` not being recognized correctly, shouldn't we instead fix how those keywords are parsed?
- In the examples of Microsoft style that I've seen, statement lambdas always place the brace on a new line from the arrow. If used as a function argument like this, does that rule no longer apply? I'm having difficulty finding an example of that specific usage in Microsoft's docs.


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

https://reviews.llvm.org/D104388



More information about the cfe-commits mailing list