From 52cca05eed3e615678fd54e98ef30928aed0aee8 Mon Sep 17 00:00:00 2001 From: Baptiste Mouginot Date: Wed, 20 Jan 2021 13:47:39 -0600 Subject: [PATCH] adding news and .clang_format file --- .clang-format | 2 ++ astyle_google.ini | 35 ----------------------------------- news/PR-0679.rst | 13 +++++++++++++ 3 files changed, 15 insertions(+), 35 deletions(-) create mode 100644 .clang-format delete mode 100644 astyle_google.ini create mode 100644 news/PR-0679.rst diff --git a/.clang-format b/.clang-format new file mode 100644 index 0000000000..7e550ae579 --- /dev/null +++ b/.clang-format @@ -0,0 +1,2 @@ +# Using the Default clang-format Google Style +BasedOnStyle: Google diff --git a/astyle_google.ini b/astyle_google.ini deleted file mode 100644 index a55ac8e6e2..0000000000 --- a/astyle_google.ini +++ /dev/null @@ -1,35 +0,0 @@ -# Google Coding Style Options -# C++ - https://google.github.io/styleguide/cppguide.html -# Java - https://google.github.io/styleguide/javaguide.html -# ObjC - https://google.github.io/styleguide/objcguide.xml - -# braces and indent -style=google -indent=spaces=2 - -# indentation -indent-switches -indent-continuation=2 -indent-preproc-define -min-conditional-indent=0 -max-continuation-indent=80 - -# padding -pad-oper -pad-header -unpad-paren -align-pointer=type - -# formatting -break-one-line-headers -keep-one-line-blocks -keep-one-line-statements -convert-tabs -#close-templates - -# objective-c -pad-method-prefix -unpad-return-type -unpad-param-type -align-method-colon -pad-method-colon=none diff --git a/news/PR-0679.rst b/news/PR-0679.rst new file mode 100644 index 0000000000..a1ab65a6e0 --- /dev/null +++ b/news/PR-0679.rst @@ -0,0 +1,13 @@ +**Added:** None + +**Changed:** +- reformat all files using clang-format +- change housekeeping to test format against clang-format + +**Deprecated:** None + +**Removed:** None + +**Fixed:** None + +**Security:** None