Skip to content

Commit

Permalink
Use config file strictly
Browse files Browse the repository at this point in the history
Signed-off-by: Boram Bae <boram21.bae@samsung.com>
  • Loading branch information
bbrto21 committed May 12, 2021
1 parent e1b63a6 commit 7648646
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .clang-format
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Language: Cpp
# BasedOnStyle: Google
AccessModifierOffset: -1
AlignAfterOpenBracket: Align
AlignConsecutiveMacros: None
#AlignConsecutiveMacros: None // Notsupported on v11
AlignConsecutiveAssignments: None
AlignConsecutiveBitFields: None
AlignConsecutiveDeclarations: None
Expand Down
2 changes: 1 addition & 1 deletion tools/check_tidy.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ def report_error(msg, line=None):

with open(file, 'r') as f:
original = f.readlines()
formatted = subprocess.check_output([clang_format, '-style=Google', file])
formatted = subprocess.check_output([clang_format, '-style=file', file])

if update:
with open(file, 'w') as f:
Expand Down

0 comments on commit 7648646

Please sign in to comment.