[CXX-1008] Update clang_format.py to use clang-format 3.8 Created: 29/Aug/16  Updated: 23/Dec/16  Resolved: 23/Dec/16

Status: Closed
Project: C++ Driver
Component/s: Build
Affects Version/s: None
Fix Version/s: 3.2.0-rc0

Type: Task Priority: Major - P3
Reporter: J Rassi Assignee: David Golden
Resolution: Done Votes: 0
Labels: clang-format
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
related to CXX-1007 Add additional directives to clang-fo... Closed

 Description   

clang-format 3.8 adds additional directives from version 3.6 that will be useful to enable (e.g. SortIncludes, ReflowComments, etc). We should upgrade our build system to use version 3.8.



 Comments   
Comment by Githook User [ 23/Dec/16 ]

Author:

{u'username': u'xdg', u'name': u'David Golden', u'email': u'xdg@xdg.me'}

Message: CXX-1008 Protect against clang-format --version erroring
Branch: master
https://github.com/mongodb/mongo-cxx-driver/commit/4ecfc51c6fada35b81333116b56bf14583ebee28

Comment by Githook User [ 23/Dec/16 ]

Author:

{u'username': u'xdg', u'name': u'David Golden', u'email': u'xdg@xdg.me'}

Message: CXX-1008 Update clang-format 3.8.0

This commit adopts/amends the MongoDB server's clang_format.py
utility tool, which uses clang-format 3.8.0.

It includes changes caused by this upgrade.
Branch: master
https://github.com/mongodb/mongo-cxx-driver/commit/9404502d6d6120503e62d4d8eb87cdea72815e52

Generated at Wed Feb 07 22:01:05 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.