[CXX-911] clang-format.py omits a version number check Created: 16/May/16  Updated: 19/Sep/16  Resolved: 18/May/16

Status: Closed
Project: C++ Driver
Component/s: Build
Affects Version/s: 3.0.1
Fix Version/s: 3.0.2

Type: Bug Priority: Trivial - P5
Reporter: David Golden Assignee: David Golden
Resolution: Done Votes: 0
Labels: neweng
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

clang-format.py omits a version number check and thus always warns, even if the clang-format version is correct.



 Comments   
Comment by Githook User [ 18/May/16 ]

Author:

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

Message: CXX-911 Add clang-format version check

This commit adds the same version check as in the server build script.

Note: this only suppresses a warning if the version is correct; there is
still no assertion if the version is wrong.
Branch: master
https://github.com/mongodb/mongo-cxx-driver/commit/86738ee0e082268f6b1255827e40d416cb14d6cf

Comment by David Golden [ 16/May/16 ]

https://github.com/mongodb/mongo-cxx-driver/pull/486

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