[clang] [clang-format] Enable sorting includes although formatting disabled (PR #113771)

2024-10-29 Thread Martin Lambertsen via cfe-commits
https://github.com/marlamb updated https://github.com/llvm/llvm-project/pull/113771 >From 965392797976b860d3ad62ad1be8acc7fc8fde3b Mon Sep 17 00:00:00 2001 From: Martin Lambertsen Date: Sat, 26 Oct 2024 21:41:37 +0200 Subject: [PATCH] [clang-format] Enable sorting includes although formatting

[clang] [clang-format] Enable sorting includes although formatting disabled (PR #113771)

2024-10-26 Thread Martin Lambertsen via cfe-commits
https://github.com/marlamb created https://github.com/llvm/llvm-project/pull/113771 Projects exist, which do not want to use an automated formatting, but could benefit from sorting the includes, especially to include the main headers first in order to improve the self-consistency of headers. Wh

[clang] [clang-format] Enable sorting includes although formatting disabled (PR #113771)

2024-10-26 Thread Martin Lambertsen via cfe-commits
marlamb wrote: The PR as of now is far from being complete, but before putting the effort in adding tests/documentation etc. it would be great to have some feedback, if the feature is seen worth being offered and if the proposal looks roughly acceptable. I have to admit I am not really happy a