Skip to content

Commit

Permalink
[runtime] Remove clang-format style file symbolic link (Samsung#5455)
Browse files Browse the repository at this point in the history
Use clang-format style file for version 8
Remove symbolic link file to .clang-format.8 for runtime code

Signed-off-by: Hyeongseok Oh <[email protected]>
  • Loading branch information
hseok-oh authored Dec 22, 2020
1 parent c9725d7 commit f232fd1
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 19 deletions.
32 changes: 17 additions & 15 deletions .clang-format
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
---
Language: Cpp
BasedOnStyle: Google
AccessModifierOffset: -2
Expand All @@ -21,17 +20,18 @@ AlwaysBreakTemplateDeclarations: false
BinPackArguments: true
BinPackParameters: true
BraceWrapping:
AfterClass: true
AfterControlStatement: true
AfterEnum: true
AfterFunction: true
AfterNamespace: true
AfterObjCDeclaration: false
AfterStruct: true
AfterUnion: false
BeforeCatch: true
BeforeElse: true
IndentBraces: false
AfterClass: true
AfterControlStatement: true
AfterEnum: true
AfterFunction: true
AfterNamespace: true
AfterObjCDeclaration: false
AfterStruct: true
AfterUnion: false
AfterExternBlock: false
BeforeCatch: true
BeforeElse: true
IndentBraces: false
BreakBeforeBraces: Custom
BreakBeforeTernaryOperators: true
BreakConstructorInitializersBeforeComma: false
Expand All @@ -40,12 +40,13 @@ BreakStringLiterals: true
ColumnLimit: 100
CommentPragmas: '^ IWYU pragma:'
ConstructorInitializerAllOnOneLineOrOnePerLine: false
ConstructorInitializerIndentWidth: 4
ContinuationIndentWidth: 4
ConstructorInitializerIndentWidth: 2
ContinuationIndentWidth: 2
Cpp11BracedListStyle: true
DerivePointerAlignment: false
DisableFormat: false
ExperimentalAutoDetectBinPacking: false
FixNamespaceComments: true
IncludeCategories:
- Regex: '^"(llvm|llvm-c|clang|clang-c)/'
Priority: 2
Expand Down Expand Up @@ -75,6 +76,7 @@ PenaltyReturnTypeOnItsOwnLine: 60
PointerAlignment: Right
ReflowComments: true
SortIncludes: false
SortUsingDeclarations: false
SpaceAfterCStyleCast: false
SpaceBeforeAssignmentOperators: true
SpaceBeforeParens: ControlStatements
Expand All @@ -86,5 +88,5 @@ SpacesInCStyleCastParentheses: false
SpacesInParentheses: false
SpacesInSquareBrackets: false
Standard: Cpp11
TabWidth: 4
TabWidth: 2
UseTab: Never
1 change: 0 additions & 1 deletion compute/.clang-format

This file was deleted.

1 change: 0 additions & 1 deletion runtime/.clang-format

This file was deleted.

1 change: 0 additions & 1 deletion tests/.clang-format

This file was deleted.

1 change: 0 additions & 1 deletion tools/.clang-format

This file was deleted.

0 comments on commit f232fd1

Please sign in to comment.