diff --git a/.clang-format b/.clang-format new file mode 100644 index 0000000..a9d6017 --- /dev/null +++ b/.clang-format @@ -0,0 +1,42 @@ +--- +BasedOnStyle: 'LLVM' +AccessModifierOffset: -4 +AlignEscapedNewlinesLeft: true +AlignConsecutiveAssignments: false +AlignTrailingComments: true +AllowShortBlocksOnASingleLine: true +AllowShortCaseLabelsOnASingleLine: false +AllowShortFunctionsOnASingleLine: 'Inline' +AllowShortIfStatementsOnASingleLine: false +AllowShortLoopsOnASingleLine: false +AlwaysBreakAfterDefinitionReturnType: false +AlwaysBreakBeforeMultilineStrings: true +AlwaysBreakTemplateDeclarations: true +BinPackArguments: true +BinPackParameters: true +BreakBeforeBinaryOperators: 'None' +BreakBeforeBraces: 'Attach' +BreakConstructorInitializersBeforeComma: false +ColumnLimit: 80 +ConstructorInitializerAllOnOneLineOrOnePerLine: false +ConstructorInitializerIndentWidth: 2 +ContinuationIndentWidth: 2 +Cpp11BracedListStyle: true +DerivePointerBinding: true +IndentCaseLabels: true +IndentWidth: 4 +IndentWrappedFunctionNames: false +KeepEmptyLinesAtTheStartOfBlocks: true +MaxEmptyLinesToKeep: 1 +NamespaceIndentation: 'All' +PointerAlignment: 'Left' +SpaceBeforeAssignmentOperators: true +SpaceBeforeParens: 'Never' +SpaceInEmptyParentheses: false +SpacesBeforeTrailingComments: 1 +SpacesInAngles: false +SpacesInCStyleCastParentheses: false +SpacesInParentheses: false +Standard: 'Cpp11' +TabWidth: 4 +UseTab: 'Never' diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..6425fde --- /dev/null +++ b/.gitignore @@ -0,0 +1,5 @@ +build* +data/* +external/protobuf/ +runx/onnx/onnx.pb.cc +runx/onnx/onnx.pb.h