[SERVER-57446] clang-tidy results from headers are not being reported Created: 04/Jun/21  Updated: 29/Oct/23  Resolved: 03/Aug/21

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 5.1.0-rc0

Type: Bug Priority: Major - P3
Reporter: Andrew Morrow (Inactive) Assignee: Daniel Moody
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Operating System: ALL
Sprint: Dev Platform 2021-08-09
Participants:

 Description   

By default, clang-tidy doesn't report errors in headers, which is probably why coverity picked up SERVER-57428 but our clang-tidy run didn't. We need to run with a -header-filter argument in order to opt in to reports from our headers. Most likely, that will look something like -header-filter='mongo/.*'.



 Comments   
Comment by Vivian Ge (Inactive) [ 06/Oct/21 ]

Updating the fixversion since branching activities occurred yesterday. This ticket will be in rc0 when it’s been triggered. For more active release information, please keep an eye on #server-release. Thank you!

Comment by Githook User [ 02/Aug/21 ]

Author:

{'name': 'Daniel Moody', 'email': 'daniel.moody@mongodb.com', 'username': 'dmoody256'}

Message: SERVER-57446 fix clang-tidy header issues and add header-filter
Branch: master
https://github.com/mongodb/mongo/commit/27f328ad14b8fbc006c5c4103becd0f6a3aaaa5c

Comment by Githook User [ 02/Aug/21 ]

Author:

{'name': 'Daniel Moody', 'email': 'daniel.moody@mongodb.com', 'username': 'dmoody256'}

Message: SERVER-57446 fix clang-tidy header issues and add header-filter
Branch: master
https://github.com/10gen/mongo-enterprise-modules/commit/9928da862ab56b04346abbc0cc2c2891ddbb0f2e

Comment by Githook User [ 29/Jul/21 ]

Author:

{'name': 'Daniel Moody', 'email': 'daniel.moody@mongodb.com', 'username': 'dmoody256'}

Message: SERVER-57446 fix clang-tidy header issues and add header-filter
Branch: SERVER-57446
https://github.com/10gen/mongo-enterprise-modules/commit/1c86250eb0608b8f970fb0ad16ff2d2d2982098a

Generated at Thu Feb 08 05:41:52 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.