[tor-bugs] #32921 [Core Tor/Tor]: Code and script changes to run clang-format without breaking checkSpaces or coccinelle

Tor Bug Tracker & Wiki blackhole at torproject.org
Wed Feb 12 23:27:43 UTC 2020


#32921: Code and script changes to run clang-format without breaking checkSpaces or
coccinelle
----------------------------+------------------------------------
 Reporter:  nickm           |          Owner:  nickm
     Type:  enhancement     |         Status:  needs_review
 Priority:  Medium          |      Milestone:  Tor: 0.4.3.x-final
Component:  Core Tor/Tor    |        Version:
 Severity:  Normal          |     Resolution:
 Keywords:  style, 043-can  |  Actual Points:  1.5
Parent ID:  #29226          |         Points:
 Reviewer:  catalyst        |        Sponsor:
----------------------------+------------------------------------
Description changed by nickm:

Old description:

> I've been working to make changes to our code and our scripts to improve
> our clang-format output.  I think they are mature enough that we can
> merge them now.
>
> I also think it may be time to merge a .clang-format file and a script to
> run it.  We'll want to tweak it a bunch before we actually run it on our
> code, but getting it into our version control will help us refine our way
> towards a reasonable target.

New description:

 I've been working to make changes to our code and our scripts to improve
 our clang-format output.  I think they are mature enough that we can merge
 them now.

 I also think it may be time to merge a .clang-format file and a script to
 run it.  We'll want to tweak it a bunch before we actually run it on our
 code, but getting it into our version control will help us refine our way
 towards a reasonable target.

 '''Edited to clarify''': Neither the .clang-format file, the script, or
 the post-processing tool are meant to be a final version.  This branch
 does not mean that our style choices are final.  The goal here is just to
 land initial versions that we can start experimenting with.

--

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/32921#comment:22>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list