# MQL Clang-Format Configuration (generated)
# Auto-generated by MQL Clangd extension
# Prevents clang-format from breaking MQL-specific syntax like #property directives

BasedOnStyle: LLVM
Language: Cpp

# Indentation
IndentWidth: 4
TabWidth: 4
UseTab: Never

# Line length - reasonable for MQL code
ColumnLimit: 0

# Preprocessor formatting - CRITICAL for MQL #property directives
# Setting to None prevents clang-format from adding backslash line continuations
IndentPPDirectives: None

# Keep original line breaks where possible
BreakBeforeBraces: Attach
AllowShortFunctionsOnASingleLine: None
AllowShortIfStatementsOnASingleLine: Never
AllowShortLoopsOnASingleLine: false

# Pointer and reference alignment
PointerAlignment: Left
ReferenceAlignment: Left

# Spacing
SpaceAfterCStyleCast: false
SpaceBeforeParens: ControlStatements
SpacesInParentheses: false

# Include sorting - disabled to preserve MQL include order
SortIncludes: Never
