[SERVER-77406] Switch clang-tidy custom matcher tests to C++20 Created: 23/May/23 Updated: 05/Jun/23 |
|
| Status: | Backlog |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Romans Kasperovics | Assignee: | Unassigned |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Participants: |
| Description |
|
The custom module library libmongo_tidy_checks.so needs to be compiled with -std=c++17, because it is loaded and used by an existing clang-tidy binary, however, the tests for our custom matchers can be compiled with -std=c++20. For that, we can use a cloned build environment settings as shown in https://github.com/10gen/mongo/compare/roma_example?expand=1 |