Commit Graph

64 Commits

Author SHA1 Message Date
Daniel Moody ed0857d8fa SERVER-113193 apply standard mongo include path (#43328)
GitOrigin-RevId: 03a1791e053bdaf803f395c52039fd125ff4ce14
2025-10-30 01:38:04 +00:00
Jordi Serra Torrens 8286444418 SERVER-111590 Disallow introduction of new usages of CollectionCatalog in the query module (#43133)
Co-authored-by: Mariano Shaar <47160550+shaargtz@users.noreply.github.com>
GitOrigin-RevId: d96ce1515fb63a0c4384a2db8fb963fb0684119a
2025-10-28 14:35:27 +00:00
Jordi Serra Torrens f78f330b77 SERVER-81187 Disallow usages of AutoGetCollection from the query module (#41460)
GitOrigin-RevId: dfe9d61eddd9f753467ca4eb6d5fcb6f18966ab7
2025-09-18 12:44:57 +00:00
Pol Piñol Castuera 4b45ff053b SERVER-109715 SERVER-109716 CloneAuthoritativeMetadata, getDbVersion and ShardingRecoveryService can bypass critical section for database metadata (#40531)
Co-authored-by: Aitor Esteve Alvarado <aitor.esteve@mongodb.com>
GitOrigin-RevId: 730bfbc073959b9a1615195125f238474e35a8d0
2025-09-16 10:19:42 +00:00
Pol Piñol Castuera b24ea20ac9 SERVER-109078 Restructuring Catalog and Routing components into subfolders (#39440)
GitOrigin-RevId: e195f665c5a8ef8503298576af52fad5215ef8dd
2025-08-13 08:57:19 +00:00
Alex Li b97884cb49 SERVER-104800 Adjust clang tidy std bans (#39064)
GitOrigin-RevId: 7ea0cb3ba6d7ff5ff0c7f84cf47ba8bed310ff0d
2025-08-07 02:16:55 +00:00
Joan Bruguera Micó (at MongoDB) a5d69a1141 SERVER-106445 Add C++ linter to prevent invariant usage in DDL coordinators (#39276)
Co-authored-by: Robert Sander <robert.sander@mongodb.com>
GitOrigin-RevId: 2e2dddf6b830dff17dd1d70feb0e89f9e582ec84
2025-07-30 10:05:46 +00:00
Alex Li 6d35264914 SERVER-102107 Fix and reenable mongo polyfill check (#34879)
GitOrigin-RevId: 721448be067332e2106b165a7b410809e1a263d9
2025-05-22 14:43:50 +00:00
Mathias Stearn c740e2bb42 SERVER-104760 break #include cycles and enforce with clang-tidy (#35786)
GitOrigin-RevId: f186c8347205ebbaa49c45c1f06e1310621366e0
2025-05-07 16:52:36 +00:00
James Bronsted 923915df22 SERVER-97447 clean up v4 toolchain compatibility artifacts (#34032)
GitOrigin-RevId: 58c08838ea489b49bf6a802763b0e358f1f21dd1
2025-04-10 02:55:24 +00:00
auto-revert-app[bot] 5ad66f5bef Revert "SERVER-97447 clean up v4 toolchain compatibility artifacts (#33757)" (#33992)
Co-authored-by: auto-revert-processor <devprod-si-team@mongodb.com>
GitOrigin-RevId: 8c20946461a86f6ee01e2ba1127a67ab5ddfea05
2025-04-10 02:20:17 +00:00
James Bronsted 6e8598afce SERVER-97447 clean up v4 toolchain compatibility artifacts (#33757)
GitOrigin-RevId: ed59835abcc0ec2f9b0b40669596f450aec95d96
2025-04-10 02:17:28 +00:00
James Bronsted 07046bb4f5 SERVER-96684 update mongo tidy checks to support LLVM 19 API, switch to v5 clang-tidy (#33414)
GitOrigin-RevId: 557fbe7c6c3774dfab67b5e786799eacf9cd3faa
2025-04-10 00:47:36 +00:00
James Bronsted 45fa07d552 SERVER-98502 resolve second batch of v5 clang-tidy warnings (#33256)
GitOrigin-RevId: 14b0cfa3fb79fc9c897855f611b737dee37f3ee7
2025-04-10 00:34:31 +00:00
Daniel Moody 1f4f3a27a7 SERVER-101419 fix clang-tidy header regex (#32873)
GitOrigin-RevId: 7061f42a8773991dcf5661b9f421ca971e17aa18
2025-04-09 22:37:46 +00:00
Ryan Berryhill 47a5d4961c SERVER-95993 Suppress -Winterference-size (#30577)
GitOrigin-RevId: 563679178dfd9d9748e5564eb081cd4c8d60786c
2024-12-23 15:58:55 +00:00
Ryan Berryhill b20cc2759c Revert "SERVER-95993 suppress -Winterference-size (#29519)" (#29716)
GitOrigin-RevId: e670cc00248bc7a7f53144a8087cfb408e4ebc57
2024-11-29 23:34:27 +00:00
James Bronsted 0bd9f76e61 SERVER-95993 suppress -Winterference-size (#29519)
GitOrigin-RevId: e2b28e4bb6dabc95947eb1b48bb663e45af30777
2024-11-27 16:40:42 +00:00
Mathias Stearn 02ce1fb959 SERVER-97134 Only promote clang-tidy warnings to errors in CI scripts (#29191)
GitOrigin-RevId: cf820864cbfde8390760699dba27d28b97dddf96
2024-11-15 18:54:55 +00:00
Mathias Stearn 94e9b549a2 SERVER-97062 No anon namespaces or function/variable definitions in headers (#29139)
GitOrigin-RevId: 8c4bfe921c786a6575e1fbca26227097ca4a46ef
2024-11-15 18:53:27 +00:00
Daniel Moody 91dc1075f6 SERVER-80631 add compile_command.json support for bazel (#25604)
GitOrigin-RevId: 18d7d6a26bb6bbf3631fa1f6b4018afe0c12855b
2024-08-02 21:56:14 +00:00
Alex Li 77263e2bf7 SERVER-90668 Convert invariants on Status.isOK() to invariants on the Status itself (#24122)
GitOrigin-RevId: 18e023571acf483b000f61497af430af99e5cad0
2024-07-11 01:55:47 +00:00
Daniel Moody 4a0e8b1a9f SERVER-91631 make bazel generated headers included instead of copied (#23880)
GitOrigin-RevId: efbf263b049e11ae0bd624621d108d8da6921802
2024-06-26 05:43:10 +00:00
Jason Chan d1ebe01542 SERVER-90540 Add bugprone and perf clang-tidy checks that apply cleanly (#22225)
GitOrigin-RevId: 90ce7f478fb2bfd8e6b46290d2d5f878985516b3
2024-05-28 16:22:29 +00:00
Stephanie bcbe52fce6 SERVER-90610: Enable tidy check misc-unused-alias-decls (#22297)
GitOrigin-RevId: 0ad1fdc602207d30cd4386a18d8a64c7379709de
2024-05-28 15:31:25 +00:00
Matt Kneiser 5e886ad953 SERVER-90645 Enable tidy check misc-unused-using-decls (#22430)
Co-authored-by: Benety Goh <benety@mongodb.com>
GitOrigin-RevId: e97b100882e14cca504952d321cedfb135321240
2024-05-23 18:13:58 +00:00
Gregory Noma f63ced72a1 SERVER-90592 Add `bugprone-unhandled-self-assignment` to clang-tidy (#22284)
GitOrigin-RevId: f0b1d7f635182005f222c28c8d1dd947bb4af1e9
2024-05-22 16:49:38 +00:00
Gregory Noma 56e5510928 SERVER-90594 Add `bugprone-too-small-loop-variable` to clang-tidy (#22286)
GitOrigin-RevId: cf54d27c154af8d269c2f9159466d1ffb6b67e91
2024-05-21 23:41:15 +00:00
Matt Kneiser b80f31ea08 SERVER-90577 Enable tidy check performance-inefficient-string-concatenation (#22270)
GitOrigin-RevId: e163558464d2dcde48e6c448167b9c552f691f6b
2024-05-17 22:15:44 +00:00
Stephanie 25cc396e42 SERVER-90608: Enable tidy check misc-new-delete-overloads (#22296)
GitOrigin-RevId: c8cee933ace36a64d48fd8ecf4c7c4476945f864
2024-05-17 22:15:32 +00:00
Matt Kneiser 410f7aca48 SERVER-90585 Enable tidy check bugprone-redundant-branch-condition (#22271)
GitOrigin-RevId: 7de2b46c1b1922a88586f238159f35a3e8f09a8f
2024-05-17 21:13:24 +00:00
Jason Chan 3e39c351c7 SERVER-90539 Sort clang-tidy.in in lexicographical order (#22285)
GitOrigin-RevId: 61c85301553912523f35e40b2b8211eb0e20065c
2024-05-17 16:07:16 +00:00
Gregory Noma df7e239630 SERVER-90578 Add `misc-unconventional-assign-operator` to clang-tidy (#22260)
GitOrigin-RevId: 3d2a20faa145aae8d9b834d732122ace1d015af3
2024-05-16 21:20:37 +00:00
Brad Cater c3ee3fe6f7 SERVER-90552 Add bugprone-string-constructor to clang-tidy. (#22235)
GitOrigin-RevId: 96b251cd5235d5522c455f8fa53d3d0de36de218
2024-05-16 20:23:42 +00:00
Brad Cater 15d33f869d SERVER-90555 Add bugprone-suspicious-semicolon to clang-tidy. (#22236)
GitOrigin-RevId: 71755535755746e62b51e3def8b84893f506691c
2024-05-16 15:14:51 +00:00
Brad Cater b8a56c98af SERVER-90534 Add bugprone-sizeof-container to clang-tidy checks. (#22216)
GitOrigin-RevId: 055d326abe672924cb5ec5b2e386b7e9a37a0f53
2024-05-15 21:56:12 +00:00
Joseph Prince c67e48a57f SERVER-87848 Add const ref StringData tidy check (#19889)
GitOrigin-RevId: 14331b669a6ffdd68485c4bb1392d6d8e7c52d6f
2024-03-21 03:49:27 +00:00
Ivan Fefer 2ac7a199fd SERVER-87974 Enable modernize-use-override and apply fixes (#20075)
GitOrigin-RevId: c69dc68af83faf399b2e82454ce27d95379c094c
2024-03-19 07:48:40 +00:00
Matt Boros 6bca906425 SERVER-77158 enable low risk clang tidy perf rules 2023-09-19 22:01:54 +00:00
Zack Winter 27a372d3ab SERVER-79410 Enable bugprone-unused-return-value clang lint warning 2023-08-15 19:49:08 +00:00
Zack Winter 57c2635822 SERVER-79407 Enable bugprone-parent-virtual-call clang-tidy check 2023-08-14 16:58:17 +00:00
Juan Gu 34d372dd0b SERVER-71743 Move polyfill lint to clang-tidy 2023-06-21 15:24:01 +00:00
Steve Gross c9f9a85e55 SERVER-77898 Enable misc-static-assert clang-tidy check 2023-06-20 19:49:33 +00:00
Steve Gross ddb337d062 SERVER-77896 Enable performance-no-automatic-move clang-tidy check 2023-06-16 15:41:43 +00:00
Juan Gu 77727c372b SERVER-78007 Move rand check to clang-tidy 2023-06-15 00:51:49 +00:00
Juan Gu 7657d17d39 Revert "SERVER-71743 Move polyfill lint to clang-tidy"
This reverts commit 053876ef08.
2023-06-13 22:36:43 +00:00
Juan Gu 053876ef08 SERVER-71743 Move polyfill lint to clang-tidy 2023-06-13 16:03:41 +00:00
Romans Kasperovics 60f92795c9 SERVER-75933 Client-tidy rule banning C++20 calendar and timezones 2023-06-06 02:34:28 +00:00
Juan Gu d981535c05 SERVER-71741 Move macro definition leaks check to clang-tidy 2023-06-05 20:24:28 +00:00
Juan Gu c0423f3ab1 SERVER-71770 Move CollectionShardingRuntime into clang tidy 2023-05-26 22:40:39 +00:00