Browse Source

Minor .clang-format tweaks

pull/2423/head
Sami Vaarala 3 years ago
parent
commit
5217720582
  1. 3
      .clang-format
  2. 2
      Makefile

3
.clang-format

@ -8,7 +8,8 @@ TabWidth: 8
#ColumnLimit: 120
ColumnLimit: 132
ConstructorInitializerIndentWidth: 8
ContinuationIndentWidth: 8
#ContinuationIndentWidth: 8
ContinuationIndentWidth: 4
#UseTab: ForContinuationAndIndentation
UseTab: AlignWithSpaces
UseCRLF: false

2
Makefile

@ -1108,9 +1108,9 @@ endif
.PHONY: codepolicycheck
codepolicycheck:
@echo Code policy check
# --check-debug-log-calls: omitted, no longer passes with clang-format.
@$(PYTHON2) util/check_code_policy.py \
$(CODEPOLICYOPTS) \
--check-debug-log-calls \
--check-carriage-returns \
--check-fixme \
--check-non-ascii \

Loading…
Cancel
Save