From 85bfe0ade7e1d8f91c632f7cbbc0279a487ff017 Mon Sep 17 00:00:00 2001 From: Hailin Date: Fri, 18 Mar 2022 23:20:43 +0800 Subject: [PATCH] Add clang-format rule --- .clang-format | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 .clang-format diff --git a/.clang-format b/.clang-format new file mode 100644 index 00000000000..e51b9fcadbe --- /dev/null +++ b/.clang-format @@ -0,0 +1,5 @@ +# Run manually to reformat a file: +# clang-format -i --style=file +# find . -iname '*.cc' -o -iname '*.h' -o -iname '*.h.in' | xargs clang-format -i --style=file +BasedOnStyle: Google +DerivePointerAlignment: false