DLTcollab / TA-endpoint

Connect resource constrained endpoints with Tangle-Accelerator
Apache License 2.0
0 stars 2 forks source link

Rewrite formatter #4

Closed howjmay closed 4 years ago

howjmay commented 4 years ago

The current formatter has enormous bug. We need to implement a new one

splasky commented 4 years ago

Use llvm coding standard instead?

jserv commented 4 years ago

Did you mean clang-format?

splasky commented 4 years ago

Yes, we can put it into the hook folder.

jserv commented 4 years ago

We shall stick on consistent style setting as dcurl and tangle-acclerator does. Read clang-format manual to exclude the unexpected code snip.

howjmay commented 4 years ago

We can use the same .clang-format file in TA. However the file /hooks/formatter should be rewrite, since it can't format all the files under TA-enpoint