Scheduled service maintenance on November 22


On Friday, November 22, 2024, between 06:00 CET and 18:00 CET, GIN services will undergo planned maintenance. Extended service interruptions should be expected. We will try to keep downtimes to a minimum, but recommend that users avoid critical tasks, large data uploads, or DOI requests during this time.

We apologize for any inconvenience.

.clang-format 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108
  1. ---
  2. Language: Cpp
  3. # BasedOnStyle: LLVM
  4. AccessModifierOffset: -4
  5. AlignAfterOpenBracket: DontAlign
  6. AlignConsecutiveAssignments: false
  7. AlignConsecutiveDeclarations: false
  8. AlignEscapedNewlines: Right
  9. AlignOperands: true
  10. AlignTrailingComments: true
  11. AllowAllParametersOfDeclarationOnNextLine: true
  12. AllowShortBlocksOnASingleLine: true
  13. AllowShortCaseLabelsOnASingleLine: false
  14. AllowShortFunctionsOnASingleLine: Empty
  15. AllowShortIfStatementsOnASingleLine: false
  16. AllowShortLoopsOnASingleLine: false
  17. AlwaysBreakAfterDefinitionReturnType: None
  18. AlwaysBreakAfterReturnType: None
  19. AlwaysBreakBeforeMultilineStrings: false
  20. AlwaysBreakTemplateDeclarations: true
  21. BinPackArguments: true
  22. BinPackParameters: true
  23. BraceWrapping:
  24. AfterClass: true
  25. AfterControlStatement: true
  26. AfterEnum: true
  27. AfterFunction: true
  28. AfterNamespace: false
  29. AfterObjCDeclaration: true
  30. AfterStruct: true
  31. AfterUnion: true
  32. BeforeCatch: true
  33. BeforeElse: true
  34. IndentBraces: false
  35. SplitEmptyFunction: true
  36. SplitEmptyRecord: true
  37. SplitEmptyNamespace: true
  38. BreakBeforeBinaryOperators: None
  39. BreakBeforeBraces: Custom
  40. BreakBeforeInheritanceComma: false
  41. BreakBeforeTernaryOperators: true
  42. BreakConstructorInitializersBeforeComma: true
  43. BreakConstructorInitializers: BeforeColon
  44. BreakAfterJavaFieldAnnotations: false
  45. BreakStringLiterals: true
  46. ColumnLimit: 140
  47. CommentPragmas: '^ IWYU pragma:'
  48. CompactNamespaces: false
  49. ConstructorInitializerAllOnOneLineOrOnePerLine: false
  50. ConstructorInitializerIndentWidth: 4
  51. ContinuationIndentWidth: 4
  52. Cpp11BracedListStyle: true
  53. DerivePointerAlignment: false
  54. DisableFormat: false
  55. ExperimentalAutoDetectBinPacking: false
  56. FixNamespaceComments: true
  57. ForEachMacros:
  58. - foreach
  59. - Q_FOREACH
  60. - BOOST_FOREACH
  61. IncludeCategories:
  62. - Regex: '^"(llvm|llvm-c|clang|clang-c)/'
  63. Priority: 2
  64. - Regex: '^(<|"(gtest|gmock|isl|json)/)'
  65. Priority: 3
  66. - Regex: '.*'
  67. Priority: 1
  68. IncludeIsMainRegex: '(Test)?$'
  69. IndentCaseLabels: false
  70. IndentWidth: 4
  71. IndentWrappedFunctionNames: false
  72. JavaScriptQuotes: Leave
  73. JavaScriptWrapImports: true
  74. KeepEmptyLinesAtTheStartOfBlocks: true
  75. MacroBlockBegin: ''
  76. MacroBlockEnd: ''
  77. MaxEmptyLinesToKeep: 1
  78. NamespaceIndentation: None
  79. ObjCBlockIndentWidth: 2
  80. ObjCSpaceAfterProperty: false
  81. ObjCSpaceBeforeProtocolList: true
  82. PenaltyBreakAssignment: 2
  83. PenaltyBreakBeforeFirstCallParameter: 19
  84. PenaltyBreakComment: 300
  85. PenaltyBreakFirstLessLess: 120
  86. PenaltyBreakString: 1000
  87. PenaltyExcessCharacter: 1000000
  88. PenaltyReturnTypeOnItsOwnLine: 60
  89. PointerAlignment: Right
  90. ReflowComments: true
  91. SortIncludes: true
  92. SortUsingDeclarations: true
  93. SpaceAfterCStyleCast: false
  94. SpaceAfterTemplateKeyword: false
  95. SpaceBeforeAssignmentOperators: true
  96. SpaceBeforeParens: ControlStatements
  97. SpaceInEmptyParentheses: false
  98. SpacesBeforeTrailingComments: 1
  99. SpacesInAngles: false
  100. SpacesInContainerLiterals: true
  101. SpacesInCStyleCastParentheses: false
  102. SpacesInParentheses: false
  103. SpacesInSquareBrackets: false
  104. Standard: Cpp11
  105. TabWidth: 8
  106. UseTab: Never
  107. ...