···11+# Based on LLVM coding standards
22+BasedOnStyle: LLVM
33+44+# Use 4 spaces for indentation
55+IndentWidth: 4
66+77+# Use 4 spaces for continuations
88+ContinuationIndentWidth: 4
99+1010+# Allow short functions to be on a single line
1111+AllowShortFunctionsOnASingleLine: false
1212+1313+# Column limit for wrapping
1414+ColumnLimit: 0
1515+1616+# Break before braces for functions and classes
1717+BreakBeforeBraces: Allman
1818+1919+# Function declaration return type alignment
2020+AlignTrailingComments: true
2121+AlignAfterOpenBracket: true
2222+AlignEscapedNewlines: Left
2323+AlignOperands: true
2424+AlignConsecutiveAssignments: false
2525+AlignConsecutiveDeclarations: false
2626+2727+# Control statements
2828+AllowShortIfStatementsOnASingleLine: true
2929+AllowShortLoopsOnASingleLine: false
3030+IndentCaseLabels: true
3131+3232+# Pointer alignment
3333+PointerAlignment: Left
3434+3535+# Space before and after operators
3636+SpaceBeforeParens: ControlStatements
3737+SpaceBeforeRangeBasedForLoopColon: true
3838+SpacesBeforeTrailingComments: 1
3939+SpacesInCStyleCastParentheses: false
4040+SpacesInContainerLiterals: false
4141+SpacesInParentheses: false
4242+4343+# Namespace indentation
4444+NamespaceIndentation: None
4545+4646+# Empty line before access modifiers in classes
4747+EmptyLineBeforeAccessModifier: LogicalBlock
4848+4949+# Add space between statements
5050+SpaceBeforeAssignmentOperators: true
5151+5252+# No space before opening brackets
5353+SpaceBeforeSquareBrackets: false
5454+5555+# No space before or after '<' and '>' in template argument lists
5656+SpacesInAngles: false
5757+5858+# Handling include statements
5959+IncludeBlocks: Preserve
6060+IncludeCategories:
6161+ - Regex: '^<.*\.h>'
6262+ Priority: 1
6363+ - Regex: '^".*\.h"'
6464+ Priority: 2
6565+6666+# Keep empty lines at the start of blocks
6767+KeepEmptyLinesAtTheStartOfBlocks: true
6868+6969+# Indentation style for preprocessor directives
7070+IndentPPDirectives: AfterHash
7171+7272+# Wrap comments to fit within column limit
7373+ReflowComments: false