Files
nanoflann/.clang-format
2025-12-22 17:16:23 +01:00

23 lines
728 B
YAML

Language: Cpp
BasedOnStyle: Google
# ---
AlignAfterOpenBracket: AlwaysBreak # Values: Align, DontAlign, AlwaysBreak
AlignConsecutiveAssignments: true
AlignConsecutiveDeclarations: true
AlignTrailingComments: false # Should be off, causes many dummy problems!!
AllowShortBlocksOnASingleLine: false
BreakBeforeBraces: Allman
ColumnLimit: 100
IndentCaseLabels: true
IndentWidth: 4
IndentWrappedFunctionNames: true
MaxEmptyLinesToKeep: 1
NamespaceIndentation: None
DerivePointerAlignment: false
ReflowComments: true # Should be true, otherwise clang-format doesn't touch comments
SortIncludes: true
SpaceBeforeAssignmentOperators: true
Standard: Cpp11
TabWidth: 4
UseTab: Never # Available options are Never, Always, ForIndentation