[PATCH] D94206: [clang-format] turn on formatting after "clang-format on" while sorting includes

MyDeveloperDay via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Jan 7 02:14:32 PST 2021


MyDeveloperDay added a comment.

I'm not seeing this

  // clang-format off
  #include "d.h"
  #include "b.h"
  // clang-format on
  
  #include "a.h"
  #include "c.h"
  #include "e.h"

$ unix2dos test1.cpp
unix2dos: converting file test1.cpp to DOS format...

$ clang-format test1.cpp
// clang-format off
#include "d.h"
#include "b.h"
// clang-format on

#include "a.h"
#include "c.h"
#include "e.h"

  


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D94206



More information about the cfe-commits mailing list