[PATCH] D75791: [clang-format] Added new option IndentExternBlock

MyDeveloperDay via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Mar 26 07:33:43 PDT 2020


MyDeveloperDay added a comment.

Could the default be `Style.IndentExternBlock = Style.BraceWrapping.AfterExternBlock`

Then it would match the prior behaviour off AddLevel being `true` when AfterExternBlock is `true`

  extern "C" {
  int a;
  }
  
  extern "C" 
  {
    int a;
  }


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

https://reviews.llvm.org/D75791





More information about the cfe-commits mailing list