Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 3 additions & 4 deletions .clang-format
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
Language: Cpp
Standard: c++23
Standard: Latest
BasedOnStyle: LLVM

# Indentation
Expand Down Expand Up @@ -31,8 +31,7 @@ AllowShortIfStatementsOnASingleLine: Never
AllowShortLoopsOnASingleLine: false

# Pointers and references
PointerAlignment: Right
DereferenceBindsToType: true
PointerAlignment: Left
ReferenceAlignment: Pointer

# Line breaks
Expand All @@ -50,7 +49,7 @@ IncludeCategories:
Priority: 3

# Constructor initialization
ConstructorInitializerAllOnOneLineIfFitsOnLine: false
PackConstructorInitializers: CurrentLine
ConstructorInitializerIndentWidth: 4

# Penalty adjustments
Expand Down
2 changes: 1 addition & 1 deletion .clang-tidy
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
Checks: '-*,readability-*,performance-*,bugprone-*,modernize-*'
Checks: '-*,readability-*,performance-*,bugprone-*,modernize-*,-modernize-use-trailing-return-type'
HeaderFilterRegex: 'include/(stochfit|levmar)/.*\.h'
WarningsAsErrors: ''
FormatStyle: file
Expand Down
Loading
Loading