diff --git a/libcxx/.clang-format b/libcxx/.clang-format --- a/libcxx/.clang-format +++ b/libcxx/.clang-format @@ -77,10 +77,6 @@ PointerAlignment: Left -# Disable formatting options which may break tests. -SortIncludes: false -ReflowComments: false - # libc++'s preferred indentions of preprocessor statements. IndentPPDirectives: AfterHash diff --git a/libcxx/test/.clang-format b/libcxx/test/.clang-format new file mode 100644 --- /dev/null +++ b/libcxx/test/.clang-format @@ -0,0 +1,5 @@ +BasedOnStyle: InheritParentConfig + +# Disable formatting options which may break tests. +SortIncludes: false +ReflowComments: false