From 8c655a58055132c1f2dc7730ebe7f7bc49f3231f Mon Sep 17 00:00:00 2001
From: Attila Krasznahorkay <Attila.Krasznahorkay@cern.ch>
Date: Mon, 28 Nov 2022 14:21:55 +0100
Subject: [PATCH] Added a default format for C++ source (and header) files.

---
 .clang-format | 10 ++++++++++
 1 file changed, 10 insertions(+)
 create mode 100644 .clang-format

diff --git a/.clang-format b/.clang-format
new file mode 100644
index 000000000000..abb82d5ae0ec
--- /dev/null
+++ b/.clang-format
@@ -0,0 +1,10 @@
+# Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
+
+BasedOnStyle: Google
+Language: Cpp
+AllowShortBlocksOnASingleLine: false
+AllowShortCaseLabelsOnASingleLine: false
+AllowShortFunctionsOnASingleLine: Inline
+AllowShortIfStatementsOnASingleLine: false
+AllowShortLoopsOnASingleLine: false
+KeepEmptyLinesAtTheStartOfBlocks: true
-- 
GitLab