We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aa13f3e commit 3714a88Copy full SHA for 3714a88
.clang-format
@@ -1,10 +1,12 @@
1
BasedOnStyle: Google
2
IndentWidth: 2
3
ColumnLimit: 120
4
+AccessModifierOffset: -2
5
AllowShortFunctionsOnASingleLine: Inline
6
SortIncludes: true
-IncludeBlocks: Merge
7
-DerivePointerAlignment: false
+IncludeBlocks: Preserve
8
PointerAlignment: Left
9
+DerivePointerAlignment: false
10
SpaceBeforeParens: ControlStatements
11
BreakBeforeBraces: Allman # Or 'Attach' if you prefer brace on same line
12
+SpacesBeforeTrailingComments: 2
src/main.cpp
@@ -1,4 +1,5 @@
#include <iostream>
+
#include "math/arithmetic.hpp"
int main()
tests/test_arithmetic.cpp
#include <gtest/gtest.h>
TEST(Arithmetic, Add)
0 commit comments