Граф коммитов

152 Коммитов

Автор SHA1 Сообщение Дата
Mike Hommey 4c8627a76e Bug 1901976 - Update clang-tidy version after bug 1901895
Differential Revision: https://phabricator.services.mozilla.com/D213474
2024-06-12 20:30:52 +00:00
Mike Hommey 42354bc6ca Bug 1849075 - Update builders to clang 18. r=firefox-build-system-reviewers,sergesanspaille
Differential Revision: https://phabricator.services.mozilla.com/D208955
2024-05-23 04:28:37 +00:00
Cristina Horotan 22fa3c4f67 Backed out 2 changesets (bug 1849075, bug 1878764) for causing remote failures at remote/shared/messagehandler/test/browser/*
Backed out changeset 0dbba1a7b5ab (bug 1878764)
Backed out changeset 86555ffb064f (bug 1849075)
2024-05-22 03:34:48 +03:00
Mike Hommey d5182ee779 Bug 1849075 - Update builders to clang 18. r=firefox-build-system-reviewers,sergesanspaille
Differential Revision: https://phabricator.services.mozilla.com/D208955
2024-05-21 07:24:02 +00:00
Ryan VanderMeulen c84d3db8d7 Backed out 3 changesets (bug 1849075, bug 1897015, bug 1878764) for causing Android arm32 startup crashes (bug 1897635).
Backed out changeset 916680b7cdce (bug 1897015)
Backed out changeset c6dd0210975b (bug 1878764)
Backed out changeset c9e28db916e5 (bug 1849075)
2024-05-20 12:54:45 -04:00
Mike Hommey eaa48cfb89 Bug 1849075 - Update builders to clang 18. r=firefox-build-system-reviewers,sergesanspaille
Differential Revision: https://phabricator.services.mozilla.com/D208955
2024-05-15 19:38:32 +00:00
acseh e9228802fc Backed out 2 changesets (bug 1878764, bug 1849075) for causing build bustages and xpcshell failures on /test_content_annotation.js
Backed out changeset 8dc928e0dd33 (bug 1878764)
Backed out changeset 605e19d02f88 (bug 1849075)
2024-05-14 12:48:46 +03:00
Mike Hommey e75b7d2a26 Bug 1849075 - Update builders to clang 18. r=firefox-build-system-reviewers,sergesanspaille
Differential Revision: https://phabricator.services.mozilla.com/D208955
2024-05-14 07:10:43 +00:00
Cristian Tuns c4685ab34e Backed out 4 changesets (bug 1878764, bug 1894860, bug 1849075) for causing multiple Gtest failures. CLOSED TREE
Backed out changeset 1b6f68a55002 (bug 1878764)
Backed out changeset dbcef036309d (bug 1894860)
Backed out changeset 440056d02985 (bug 1878764)
Backed out changeset df59a0aca986 (bug 1849075)
2024-05-04 18:03:30 -04:00
Mike Hommey 87f5e143b2 Bug 1849075 - Update builders to clang 18. r=firefox-build-system-reviewers,sergesanspaille
Differential Revision: https://phabricator.services.mozilla.com/D208955
2024-05-04 20:07:20 +00:00
Tamas Szentpeteri 6217d9f010 Backed out 2 changesets (bug 1849075, bug 1878764) for causing mass crashes at panicking.rs. CLOSED TREE
Backed out changeset e48d46145ba4 (bug 1878764)
Backed out changeset b92b25790374 (bug 1849075)
2024-05-03 00:17:49 +03:00
Mike Hommey 9750c88857 Bug 1849075 - Update builders to clang 18. r=firefox-build-system-reviewers,sergesanspaille
Differential Revision: https://phabricator.services.mozilla.com/D208955
2024-05-02 19:35:39 +00:00
André Bargull 62dc644110 Bug 1822949: Add EnumSet to "performance-unnecessary-value-param.AllowedTypes". r=linter-reviewers,sylvestre
Differential Revision: https://phabricator.services.mozilla.com/D196328
2024-01-22 12:58:46 +00:00
Norisz Fay cab5c7eff3 Bug 1867452 - Fix for cpp clang failures. r=glandium CLOSED TREE 2023-12-01 09:39:18 +02:00
Sylvestre Ledru 7baa783763 Bug 1857550 - clang-tidy: add test for readability-redundant-member-init r=linter-reviewers,andi
Differential Revision: https://phabricator.services.mozilla.com/D190396
2023-10-08 08:52:27 +00:00
Sylvestre Ledru cfcaf0ad1f Bug 1856795 - Enable readability-redundant-member-init r=linter-reviewers,ahal DONTBUILD
Depends on D190002

Differential Revision: https://phabricator.services.mozilla.com/D190008
2023-10-06 07:46:43 +00:00
Mike Hommey ae92ce00f6 Bug 1856532 - Upgrade builders to clang 17.0.2. r=firefox-build-system-reviewers,sergesanspaille
Differential Revision: https://phabricator.services.mozilla.com/D189899
2023-10-03 20:48:31 +00:00
Andi-Bogdan Postelnicu 72276f379c Bug 1855848 - fix infra bust for static-analysis autotest. r=sylvestre DONTBUILD
This is because the std is not located in the default location where the compiler
searches.
This is normal, but for autotest we don't generate a compile commands through the build
system, we generate a dummy one, with dummy paths so we need to transplant definitions
from std to the test files.

Differential Revision: https://phabricator.services.mozilla.com/D189619
2023-09-29 22:01:46 +00:00
Sylvestre Ledru 1ee8840016 Bug 1855672 - Enable some new clang-tidy checkers r=andi DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D189486
2023-09-28 16:03:55 +00:00
Andi-Bogdan Postelnicu b7b3a15bfc Bug 1855169 - static-analysis autotest fix. r=marco
Fixed fallout from migration to clang-17 where clang-tidy checker
bugprone-swapped-arguments has its message changed a bit.

Differential Revision: https://phabricator.services.mozilla.com/D189211
2023-09-26 10:32:13 +00:00
Mike Hommey b11b9075c4 Bug 1836193 - Update builders to clang 17. r=andi
Differential Revision: https://phabricator.services.mozilla.com/D188634
2023-09-26 00:17:17 +00:00
Mike Hommey 3cb3ea3b50 Bug 1847198 - Update builders to clang 16.0.6. r=firefox-build-system-reviewers,ahochheiden
Remove llvmorg-17-init-11952-g2f0a1699eab7.patch as it was applied
upstream.

Differential Revision: https://phabricator.services.mozilla.com/D185423
2023-08-09 20:26:14 +00:00
Andi-Bogdan Postelnicu 16445000ea Bug 1838396 - disable misc-include-cleaner until we move to before/after analysis. r=sergesanspaille
Differential Revision: https://phabricator.services.mozilla.com/D180925
2023-06-15 05:32:49 +00:00
Andi-Bogdan Postelnicu 76e3e1586f Bug 1836676 - for clang-tidy activate mis-include-cleaner. r=sergesanspaille
Differential Revision: https://phabricator.services.mozilla.com/D179892
2023-06-06 09:46:49 +00:00
Mike Hommey 62f7b36735 Bug 1834707 - Update builders to clang 16.0.4. r=firefox-build-system-reviewers,sergesanspaille
Differential Revision: https://phabricator.services.mozilla.com/D178907
2023-05-29 22:31:34 +00:00
Stanca Serban 7fcbc85dfb Backed out changeset 220d89d838fe (bug 1834707) for causing build bustages on Windows 2012. CLOSED TREE 2023-05-30 00:47:58 +03:00
Mike Hommey 745fb89c08 Bug 1834707 - Update builders to clang 16.0.4. r=firefox-build-system-reviewers,sergesanspaille
Differential Revision: https://phabricator.services.mozilla.com/D178907
2023-05-29 20:36:31 +00:00
Mark Banner c2dd8e3266 Bug 1829618 - Enable Prettier on json files (automatic fixes). r=perftest-reviewers,webcompat-reviewers,extension-reviewers,andi,desktop-theme-reviewers,pip-reviewers,devtools-reviewers,sync-reviewers,mossop,denschub,dao,sparky,robwu,geckoview-reviewers,owlish
Differential Revision: https://phabricator.services.mozilla.com/D176336
2023-05-09 16:14:51 +00:00
Mike Hommey 83a605bb1b Bug 1829771 - Update builders to clang 16.0.2. r=firefox-build-system-reviewers,ahochheiden
Differential Revision: https://phabricator.services.mozilla.com/D176376
2023-04-25 04:32:04 +00:00
Mike Hommey ba27a18628 Bug 1823591 - Update builders to clang 16. r=firefox-build-system-reviewers,andi,ahochheiden
This requires a couple backports from clang trunk:
- one for https://github.com/llvm/llvm-project/issues/60109
- one to replace revert-llvmorg-15-init-17171-g8bb4451a651a.patch, which
  addresses the regression rather than reverting it.

clang_include_cleaner.patch is also disabled in clang-tidy, as the patch
doesn't apply anymore, and the check it adds is not enabled by default.

Differential Revision: https://phabricator.services.mozilla.com/D173106
2023-04-11 07:17:09 +00:00
Andi-Bogdan Postelnicu d29149bfd0 Bug 1815703 - [clang-tidy] Add checker clang-analyzer-optin.performance.Padding r=sergesanspaille
Differential Revision: https://phabricator.services.mozilla.com/D169202
2023-02-13 15:17:37 +00:00
Andi-Bogdan Postelnicu 58cebd3634 Bug 1804160 for clang-tidy checker readability-simplify-boolean-expr do not activate SimplifyDeMorgan. r=dholbert
Differential Revision: https://phabricator.services.mozilla.com/D163909
2022-12-07 07:15:33 +00:00
Cristian Tuns aad27a0603 Backed out changeset 01470df94a33 (bug 1799640) as requested by Andi CLOSED TREE 2022-11-24 10:43:24 -05:00
Andi-Bogdan Postelnicu 3c68509ca3 Bug 1799640 - `unused include` files checker in clang-tidy. r=glandium,sergesanspaille
Ported from clangd, this still can be improved over time, but it can be landed.
This was based on the work from https://bit.ly/3TkV2N1

  * The utility makes the assumption that all header are self contained!
  * It only checkes `Decls` from the main translation file, where SourceLocarion is the
    passed `cpp` file.
  * It builds a list with all of the includes from the translation unit.
  * It matches all of the `Decls` from the main translation units with definitions from the
    included header files and builds a list with used header files.
  * All of the includes that are not part of the matched used header files are considered
    to be unused. Of course this is correct if the first assumption if followed by the coding guide,
    where all of the header are self contained. Since the mozilla code base doesn't follow this approach
    false positives might appear where the is the following situation:
FOO.cpp
  #include <A>
  #Include <B>

If header `A` defines a symbol that is used by header `B` and `B` doesn't include `A` nor
it has symbols defined that are used by `FOO.cpp` then `B` it will be marked as potentially to be removed
by the tool.
This is the limitation determined by header that are not self contained.

The limitation presented above can be fixed in the future with extra work, but it's very time expensive
during the runtime of the checker.

Differential Revision: https://phabricator.services.mozilla.com/D161583
2022-11-23 14:21:03 +00:00
Mike Hommey 79fc010202 Bug 1801058 - Update builders to clang 15.0.5. r=firefox-build-system-reviewers,sergesanspaille
Differential Revision: https://phabricator.services.mozilla.com/D162273
2022-11-17 19:57:30 +00:00
Mike Hommey cd2c134e91 Bug 1799690 - Update clang-tidy version after clang update. r=firefox-build-system-reviewers,andi
Differential Revision: https://phabricator.services.mozilla.com/D161631
2022-11-09 20:41:23 +00:00
Mike Hommey bee90b0f95 Bug 1784202 - Update builders to clang 15. r=firefox-build-system-reviewers,andi
We keep clang 14 for webrender-wrench for now, because of bug 1789346.

Differential Revision: https://phabricator.services.mozilla.com/D155532
2022-11-01 23:46:33 +00:00
Sandor Molnar 55c9f970f6 Backed out changeset 59151d6a9b0b (bug 1784202) for causing crashes @strlen + 0x30 2022-10-26 14:59:24 +03:00
Mike Hommey cfce5ea6fe Bug 1784202 - Update builders to clang 15. r=firefox-build-system-reviewers,andi
We keep clang 14 for webrender-wrench for now, because of bug 1789346.

Differential Revision: https://phabricator.services.mozilla.com/D155532
2022-10-25 07:28:24 +00:00
Marian-Vasile Laza dca276a235 Backed out changeset 1efa06d7902a (bug 1784202) for causing mochitest failures. CLOSED TREE 2022-09-22 04:44:50 +03:00
Mike Hommey 70cdc9a963 Bug 1784202 - Update builders to clang 15. r=firefox-build-system-reviewers,andi
We keep clang 14 for webrender-wrench for now, because of bug 1789346.

Differential Revision: https://phabricator.services.mozilla.com/D155532
2022-09-21 20:11:34 +00:00
Butkovits Atila 86987f69cb Backed out changeset 9d40b66a9202 (bug 1784202) for causing build bustages. 2022-09-21 15:05:08 +03:00
Mike Hommey ba0be83d9b Bug 1784202 - Update builders to clang 15. r=firefox-build-system-reviewers,andi
We keep clang 14 for webrender-wrench for now, because of bug 1789346.

Differential Revision: https://phabricator.services.mozilla.com/D155532
2022-09-21 09:17:18 +00:00
Mike Hommey a68bf5548f Bug 1774515 - Upgrade clang to 14.0.5. r=firefox-build-system-reviewers,andi
Differential Revision: https://phabricator.services.mozilla.com/D149467
2022-06-16 04:47:44 +00:00
Mike Hommey 35dbe9c4e7 Bug 1771483 - Bump clang-tidy version
Differential Revision: https://phabricator.services.mozilla.com/D147549
2022-05-27 21:21:53 +00:00
Mike Hommey e6c12dc71e Bug 1767372 - Upgrade clang to 14.0.3. r=firefox-build-system-reviewers,andi
Differential Revision: https://phabricator.services.mozilla.com/D145294
2022-05-05 07:16:46 +00:00
Mike Hommey 51ac12e4a3 Bug 1764509 - Update builders to clang 14.0.1. r=firefox-build-system-reviewers,andi
Differential Revision: https://phabricator.services.mozilla.com/D143570
2022-04-22 01:52:43 +00:00
Mike Hommey 548aade9e4 Bug 1758780 - Update builders to clang 14. r=firefox-build-system-reviewers,mhentges,andi
Differential Revision: https://phabricator.services.mozilla.com/D143175
2022-04-21 04:36:24 +00:00
Andi-Bogdan Postelnicu 40ca2d63f3 Bug 1744446 - Upgrade llvm toolchain to 13.0.1 r=firefox-build-system-reviewers,mhentges
Differential Revision: https://phabricator.services.mozilla.com/D132870
2022-02-03 15:18:33 +00:00
Andi-Bogdan Postelnicu 0d12e234b2 Bug 1731582 - Move to clang-13 r=firefox-build-system-reviewers,mhentges,decoder
Join work with glandium.

Differential Revision: https://phabricator.services.mozilla.com/D126208
2021-10-20 12:03:20 +00:00