[PATCH] D116314: [clang-format] Add style to separate definition blocks

MyDeveloperDay via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Jan 4 02:13:46 PST 2022


MyDeveloperDay added a comment.

I'm seeing some odd behaviour here..

  void foo() {}
  /* ABC */
  void bar() {}

becomes

  void foo() {}
  
  /* ABC */
  
  void bar() {}

If the ABC comment is a doxygen style comment it doesn't make sense to separate it from the function below


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D116314



More information about the cfe-commits mailing list