HomePhabricator

[clang-format] Regroup #includes into blocks for Google style

Description

[clang-format] Regroup #includes into blocks for Google style

Summary:
Regrouping #includes in blocks separated by blank lines when sorting C++ #include
headers was implemented recently, and it has been preferred in Google's C++ style guide:
https://google.github.io/styleguide/cppguide.html#Names_and_Order_of_Includes

Reviewers: sammccall, klimek

Subscribers: cfe-commits

Tags: #clang

Differential Revision: https://reviews.llvm.org/D60116

Details

Committed
ioericApr 3 2019, 2:25 AM
Differential Revision
D60116: [clang-format] Regroup #includes into blocks for Google style
Parents
rL357566: Adding 'CLion integration' to clang-format doc
Branches
Unknown
Tags
Unknown