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: 120
ColumnLimit: 132 ColumnLimit: 132
ConstructorInitializerIndentWidth: 8 ConstructorInitializerIndentWidth: 8
ContinuationIndentWidth: 8 #ContinuationIndentWidth: 8
ContinuationIndentWidth: 4
#UseTab: ForContinuationAndIndentation #UseTab: ForContinuationAndIndentation
UseTab: AlignWithSpaces UseTab: AlignWithSpaces
UseCRLF: false UseCRLF: false

2
Makefile

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

Loading…
Cancel
Save