[PATCH] D104044: [clang-format] Fix the issue of no empty line after namespace

Björn Schäpers via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Jun 10 12:38:24 PDT 2021


HazardyKnusperkeks added a comment.

In D104044#2810909 <https://reviews.llvm.org/D104044#2810909>, @darwin wrote:

> Sorry, I may need some help here. It shows "Context not available.", how do I correct it?

There are multiple ways: https://llvm.org/docs/Phabricator.html#requesting-a-review-via-the-web-interface
I use `git diff HEAD~1 -U999999 > mypatch.patch`

For your tests: You want to keep an empty line after the now wrapped `{`, did I understand that correctly?
Is that bound to the google style, i.e. does it not happen with LLVM style?


Repository:
  rZORG LLVM Github Zorg

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

https://reviews.llvm.org/D104044



More information about the cfe-commits mailing list