[SERVER-75522] Create clang-tidy rule(s) to bans/warns against the following includes Created: 30/Mar/23  Updated: 29/Oct/23  Resolved: 11/Apr/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: Alex Neben
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Assigned Teams:
Server Development Platform
Backwards Compatibility: Fully Compatible
Participants:

 Description   

Coroutines <coroutine>

Ranges <ranges>

std::format <format>

synchronized buffered outputstream <syncstream>

Calendar & Timezone library <chrono>



 Comments   
Comment by Githook User [ 12/Apr/23 ]

Author:

{'name': 'Alexander Neben', 'email': 'alexander.neben@mongodb.com', 'username': 'IamXander'}

Message: SERVER-75522 Added banned includes check for c++20
Branch: master
https://github.com/mongodb/mongo/commit/f77a6c66d004ea593547ce2932c840c028a4b994

Comment by Alex Neben [ 11/Apr/23 ]

Turns out we use chrono in a lot of places. I am going to break the work out to specifically ban cal and timezone lib.

Comment by Alex Neben [ 30/Mar/23 ]

See go/bo-go list here: https://docs.google.com/document/d/11VYvQ0jtZTsjzZy9jvDAYlugIE1U4AEjpJAX4wd6w0c/edit

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