refactor: add most of src/util to iwyu #25324

pull fanquake wants to merge 1 commits into bitcoin:master from fanquake:src_util_iwyu changing 25 files +82 −29
  1. fanquake commented at 5:34 pm on June 9, 2022: member

    These files change infrequently, and not much header shuffling is required.

    We don’t add everything in src/util/ yet, because IWYU makes some dubious suggestions, which I’m going to follow up with upstream.

    Soon we’ll swap src/util/xyz.cpp for just src/util/.

  2. hebasto commented at 5:34 pm on June 9, 2022: member
    Concept ACK.
  3. DrahtBot commented at 6:37 pm on June 9, 2022: contributor

    The following sections might be updated with supplementary metadata relevant to reviewers and maintainers.

    Conflicts

    Reviewers, this pull request conflicts with the following ones:

    • #25112 (util: Move error message formatting of NonFatalCheckError to cpp by MarcoFalke)
    • #24058 (BIP-322 basic support by kallewoof)

    If you consider this pull request important, please also help to review the conflicting pull requests. Ideally, start with the one that should be merged first.

  4. DrahtBot added the label Refactoring on Jun 9, 2022
  5. DrahtBot added the label Utils/log/libs on Jun 9, 2022
  6. DrahtBot added the label Needs rebase on Jul 7, 2022
  7. in ci/test/06_script_b.sh:61 in fbdca5e024 outdated
    55+          " src/util/moneystr.cpp"\
    56+          " src/util/serfloat.cpp"\
    57+          " src/util/spanparsing.cpp"\
    58+          " src/util/strencodings.cpp"\
    59+          " src/util/syserror.cpp"\
    60+          " src/util/url.cpp"\
    


    hebasto commented at 5:37 pm on July 7, 2022:
    Actually, this PR affects more files, e.g., asmap.cpp, readwritefile.cpp etc. Should they be listed here as well?

    fanquake commented at 10:07 am on July 8, 2022:
    IWYU generates spurious output for some .cpp files, which would require adding headers that I’m not sure are correct, so I’ve excluded them for now.
  8. refactor: add most of src/util to iwyu
    These files change infrequently, and not much header shuffling is required.
    
    We don't add everything in src/util/ yet, because IWYU makes some
    dubious suggestions, which I'm going to follow up with upstream.
    07f2c25d04
  9. fanquake force-pushed on Jul 8, 2022
  10. hebasto approved
  11. hebasto commented at 10:27 am on July 8, 2022: member

    ACK 07f2c25d04c39a0074e1d9ee1b24b3e359c8153f, I have reviewed the code and it looks OK, I agree it can be merged.

    Suggesting to apply clang-format-diff.py as well.

  12. DrahtBot removed the label Needs rebase on Jul 8, 2022
  13. MarcoFalke merged this on Jul 12, 2022
  14. MarcoFalke closed this on Jul 12, 2022

  15. fanquake deleted the branch on Jul 12, 2022
  16. sidhujag referenced this in commit 4a524573ff on Jul 13, 2022
  17. bitcoin locked this on Sep 7, 2023

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2025-01-15 06:12 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me