[tor-bugs] #33415 [Core Tor/Tor]: Adjust clang-format name in script to be parameterized

Tor Bug Tracker & Wiki blackhole at torproject.org
Fri Feb 21 21:30:48 UTC 2020


#33415: Adjust clang-format name in script to be parameterized
------------------------------+-----------------------------------
     Reporter:  nickm         |      Owner:  (none)
         Type:  defect        |     Status:  new
     Priority:  Medium        |  Milestone:  Tor: 0.4.4.x-final
    Component:  Core Tor/Tor  |    Version:
     Severity:  Normal        |   Keywords:  c-format clang-format
Actual Points:                |  Parent ID:
       Points:                |   Reviewer:
      Sponsor:                |
------------------------------+-----------------------------------
 After merging #32921, we'll need to adjust our code reformatting script so
 that it can handle the case where clang-format >= 6.0 is not named "clang-
 format", but instead something else.

 I'd lean towards an environment variable, something like
 `TOR_CLANG_FORMAT`, but I don't feel too strongly and I'm open to other
 ideas too.

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


More information about the tor-bugs mailing list