Formatting with .clang-format

Fixes https://github.com/raysan5/raylib/pull/5252#issuecomment-3403917757
This commit is contained in:
Saksham Goyal 2025-10-15 09:39:25 -04:00 • committed by GitHub
commit abf991d1f0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

17
.clang-format Normal file
View file

@ -0,0 +1,17 @@
BasedOnStyle: Microsoft
AlignConsecutiveMacros: AcrossEmptyLinesAndComments
AlignEscapedNewlines: Left
AlignTrailingComments: true
AllowShortBlocksOnASingleLine: Always
AllowShortCaseLabelsOnASingleLine: true
AllowShortFunctionsOnASingleLine: All
AllowShortIfStatementsOnASingleLine: AllIfsAndElse
AlwaysBreakAfterReturnType: None
ColumnLimit: 9999
IndentWidth: 4
PointerAlignment: Right
SpaceInEmptyParentheses: false
SpacesInCStyleCastParentheses: false
TabWidth: 4
UseTab: Never
IndentPPDirectives: BeforeHash