From 9396f9e9868a3f15b09aa570176fb6e5e285e22e Mon Sep 17 00:00:00 2001 From: _xeroxz <_xeroxz@back.engineer> Date: Wed, 23 Jun 2021 20:08:31 -0700 Subject: [PATCH] added clang format and deconstructor files --- .clang-format | 18 ++++++++++++++++++ include/deconstructor.hpp | 10 ++++++++++ src/deconstructor.cpp | 0 3 files changed, 28 insertions(+) create mode 100644 .clang-format create mode 100644 include/deconstructor.hpp create mode 100644 src/deconstructor.cpp diff --git a/.clang-format b/.clang-format new file mode 100644 index 0000000..faf0576 --- /dev/null +++ b/.clang-format @@ -0,0 +1,18 @@ +--- +BasedOnStyle: Microsoft +AlignAfterOpenBracket: Align +AllowAllArgumentsOnNextLine: 'true' +AllowAllParametersOfDeclarationOnNextLine: 'true' +AllowShortIfStatementsOnASingleLine: Never +BreakBeforeBraces: Allman +IndentWidth: '4' +Language: Cpp +NamespaceIndentation: All +SpacesInAngles: 'true' +SpacesInCStyleCastParentheses: 'true' +SpacesInContainerLiterals: 'true' +SpacesInParentheses: 'true' +SpacesInSquareBrackets: 'true' +UseTab: Never + +... \ No newline at end of file diff --git a/include/deconstructor.hpp b/include/deconstructor.hpp new file mode 100644 index 0000000..d7a976c --- /dev/null +++ b/include/deconstructor.hpp @@ -0,0 +1,10 @@ +#include + +namespace llo::s1 +{ + class dctor_base_t + { + public: + dctor_base_t(); + }; +} \ No newline at end of file diff --git a/src/deconstructor.cpp b/src/deconstructor.cpp new file mode 100644 index 0000000..e69de29