Skip to content

make format does not work #304

@edwardalee

Description

@edwardalee

The README file says to run make format to format the code. This doesn't work out of the box. It gives these error messages:

Configuration file(s) do(es) not support C: /Users/edwardlee/git/reactor-uc/./.clang-format, /Users/edwardlee/git/reactor-uc/.clang-format

This is easily fixed by letting .clang-format read as follows, but then running make format changes all the C files in the repo. Should we go ahead and format all those files?

---
BasedOnStyle: LLVM
Language: C
IndentWidth: 2
BreakConstructorInitializersBeforeComma: 'true'
PointerAlignment: Left
IncludeBlocks: Preserve
SortIncludes: false
ColumnLimit: 120
---
BasedOnStyle: LLVM
Language: Cpp
IndentWidth: 2
ColumnLimit: 120
AllowShortIfStatementsOnASingleLine: false
AllowShortFunctionsOnASingleLine: false
SortIncludes: false

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingcleanup

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions