A SystemC productivity library for virtual platform development utilizing SCV and TLM2.0 https://www.minres.com/#opensource
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

.clang-format 2.8KB

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