llvm-project/libcxx/test/.clang-format
Mark de Wever de6827b530 [libc++] Improves clang-format settings.
Add a new test based .clang-format file which inherits from the generic
one. This moves some test specific formatting rules to the test
directory.

The main benefit is that headers are sorted, which makes it more likely
to catch these errors before creating a review instead of spotting the
error in the CI clang-tidy step.

Reviewed By: ldionne, philnik, #libc

Differential Revision: https://reviews.llvm.org/D144755
2023-02-27 19:24:06 +01:00

6 lines
129 B
YAML

BasedOnStyle: InheritParentConfig
# Disable formatting options which may break tests.
SortIncludes: false
ReflowComments: false