0
0
mirror of https://github.com/mongodb/mongo.git synced 2024-11-21 12:39:08 +01:00
Commit Graph

46 Commits

Author SHA1 Message Date
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
Juan Gu
889119d007 SERVER-71746 Move mongo config header lint to clang-tidy 2023-05-16 02:13:03 +00:00
Juan Gu
7dd905d905 SERVER-71745 Move unstructured log lint to clang-tidy 2023-04-27 21:26:00 +00:00
Jiawei Yang
7d5ec88486 SERVER-67234 add clang-tidy rule to ban fcv constant usage in compare 2023-04-14 21:25:15 +00:00
Alexander Neben
f77a6c66d0 SERVER-75522 Added banned includes check for c++20 2023-04-12 04:53:51 +00:00
Juan Gu
28c4056019 SERVER-71744 Move atomic, mutex and nonmongo assert to clang-tidy 2023-03-28 01:06:44 +00:00
Juan Gu
ecb455872f SERVER-71736 Move tracing support lint to clang-tidy 2023-03-25 00:09:04 +00:00
Juan Gu
2488882313 SERVER-71742 Move volatile keyword lint to clang-tidy 2023-02-23 23:17:58 +00:00
Juan Gu
17d7b26f35 SERVER-71737 Move boost optional requirement lint to clang-tidy 2023-02-18 05:31:04 +00:00
Juan Gu
f5ce056efc SERVER-71747 Move mongo ctype lint to clang tidy 2023-02-17 02:28:44 +00:00
Daniel Moody
787d5b1b28 SERVER-73942 restore uninterruptible lock guard check config. 2023-02-13 22:16:45 +00:00
Daniel Moody
1557c2169f SERVER-72873 add header brackets tidy check. 2023-02-12 09:03:48 +00:00
Juan Gu
dd85f9436f SERVER-71734 Use clang-tidy to prevent new instances of UninteruptibleLockGuard 2023-02-08 00:35:06 +00:00
Daniel Moody
1dc8880ac4 SERVER-73310 fix clang-tidy header filter regex 2023-01-25 19:28:47 +00:00
Daniel Moody
e60abd0b58 SERVER-73124 add modernize-deprecated-headers clang-tidy check. 2023-01-24 22:19:55 +00:00