[SERVER-77898] Enable misc-static-assert clang-tidy check Created: 07/Jun/23  Updated: 29/Oct/23  Resolved: 20/Jun/23

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

Type: New Feature Priority: Major - P3
Reporter: Alex Neben Assignee: Steve Gross
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Participants:

 Description   

https://releases.llvm.org/12.0.0/tools/clang/tools/extra/docs/clang-tidy/checks/misc-static-assert.html



 Comments   
Comment by Githook User [ 20/Jun/23 ]

Author:

{'name': 'Steve Gross', 'email': 'steve.gross@mongodb.com', 'username': 'stevegrossmongodb'}

Message: SERVER-77898 Enable misc-static-assert clang-tidy check
Branch: master
https://github.com/mongodb/mongo/commit/c9f9a85e55a880279784329140d4729b5d830330

Comment by Steve Gross [ 20/Jun/23 ]

The PB claims to have succeeded but the clang-tidy log is mysteriously empty. I'm investigating.

Comment by Steve Gross [ 20/Jun/23 ]

First step: I created a branch with the new check and triggered a clang-tidy run.

Comment by Steve Gross [ 14/Jun/23 ]

Aha, I have learned that the "-" prefix disables the check. So, it has to be enabled as part of this work. Will do!

Comment by Steve Gross [ 14/Jun/23 ]

This appears to be enabled already. If so, can we close this ticket?

Generated at Thu Feb 08 06:36:54 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.