{
 "number": 36036,
 "repo": "bitcoin/bitcoin",
 "url": "https://github.com/bitcoin/bitcoin/pull/36036",
 "title": "build: Bump clang minimum supported version to 19",
 "author": "maflcko",
 "author_association": "MEMBER",
 "created_at": "2026-08-20T13:47:21Z",
 "updated_at": "2026-09-12T23:29:29Z",
 "age_days": 28,
 "draft": true,
 "labels": [
  "Build system",
  "CI failed"
 ],
 "milestone": "33.0",
 "base": "master",
 "head_sha": "f134342a944b4c07c4a6d84aa72a62520c4b1b63",
 "head_ref": "2608-clang-19",
 "head_repo": "maflcko/bitcoin-core",
 "head_history": [
  {
   "t": "2026-08-20T13:55:20Z",
   "sha": "fab8141f86667b8b964498db939db91df15538bc"
  },
  {
   "t": "2026-08-20T13:57:10Z",
   "sha": "faafb7d7391501cccb7cdfc7e6e735432f2edbe3"
  }
 ],
 "additions": 19,
 "deletions": 19,
 "changed_files": 6,
 "commit_count": 3,
 "size_bucket": "S",
 "mergeable_state": "unstable",
 "bot": {
  "drahtbot": {
   "present": true,
   "reviews": {},
   "conflicts": []
  }
 },
 "acks_parsed": {},
 "acks_tally": {
  "ack": 0,
  "stale_ack": 0,
  "concept_ack": 0,
  "approach_ack": 0,
  "nack": 0,
  "concept_nack": 0,
  "approach_nack": 0
 },
 "reviews": {
  "approved": 0,
  "changes_requested": 0,
  "distinct_reviewers": []
 },
 "signals": {
  "needs_rebase": false,
  "ci_failed": true,
  "mergeable_state": "unstable",
  "last_author_activity": "2026-08-20T14:33:39Z",
  "last_reviewer_activity": null,
  "last_reviewer": null,
  "author_silent_days": 28,
  "waiting_on_author_days": 0,
  "days_since_update": 4
 },
 "refs": {
  "mentioned": [],
  "depends_on": [],
  "fixes": [],
  "linked_issues": [],
  "references": [],
  "conflicts": []
 },
 "stack": {
  "shares_commits_with": [],
  "based_on": [],
  "base_for": []
 },
 "review_paths": [],
 "body": "Most supported operating systems ship with clang-19 (or later), so bump the minimum to that and allow new code to drop workarounds for previous clang bugs.\n\n(For this bump, only C++20 CTAD will become available.)\n\nThis patch will only be released in version 33.x, next year (2027).\n\nFor reference:\n\n* https://packages.debian.org/bookworm/clang-22\n* https://packages.ubuntu.com/noble/clang-20\n* CentOS-like 8/9/10 ship clang-21 via Stream\n* Free/Open/Net*BSD ship clang-19\n* OpenSuse Tumbleweed ships with https://software.opensuse.org/package/clang (clang22); leap:latest with clang-19\n* macOS 14: ...\ud83d\udc80\n\nOn operating systems where the minimum Clang version is not shipped by default, the user would have to use GCC, or install Clang in a different way. For example:\n\n* https://packages.debian.org/bookworm/g++ (g++-12)\n* https://packages.ubuntu.com/jammy/g++-12\n* https://apt.llvm.org/, brew, nix, guix, or compile clang from source, ...",
 "commits": [
  {
   "sha": "faa0298b25269f2b04e493cfd4cd29047cb39bbf",
   "date": "2026-08-20T13:56:34Z",
   "message": "build: Bump clang minimum supported version to 19"
  },
  {
   "sha": "faafb7d7391501cccb7cdfc7e6e735432f2edbe3",
   "date": "2026-08-20T13:56:44Z",
   "message": "clang-format: Use Standard: Latest\n\nIt should mostly be irrelevant and generally be fine to format any C++\ncode with the latest standard version. So set that here, but it can be\nchanged in the future, if there is ever a reason."
  },
  {
   "sha": "f134342a944b4c07c4a6d84aa72a62520c4b1b63",
   "date": "2026-08-20T14:33:39Z",
   "message": "ci: warp-ubuntu-2604-x64-8x"
  }
 ],
 "timeline": [
  {
   "t": "2026-08-20T13:55:20Z",
   "kind": "force_push",
   "who": "maflcko",
   "commit": "fab8141f86667b8b964498db939db91df15538bc"
  },
  {
   "t": "2026-08-20T13:57:10Z",
   "kind": "force_push",
   "who": "maflcko",
   "commit": "faafb7d7391501cccb7cdfc7e6e735432f2edbe3"
  }
 ],
 "labels_log": [
  {
   "t": "2026-08-20T13:47:25Z",
   "action": "labeled",
   "label": "Build system",
   "who": "DrahtBot"
  },
  {
   "t": "2026-08-20T13:56:35Z",
   "action": "labeled",
   "label": "CI failed",
   "who": "DrahtBot"
  },
  {
   "t": "2026-08-20T13:57:44Z",
   "action": "unlabeled",
   "label": "CI failed",
   "who": "maflcko"
  },
  {
   "t": "2026-08-20T13:58:02Z",
   "action": "labeled",
   "label": "CI failed",
   "who": "DrahtBot"
  },
  {
   "t": "2026-08-20T13:58:46Z",
   "action": "unlabeled",
   "label": "CI failed",
   "who": "maflcko"
  },
  {
   "t": "2026-08-20T14:35:16Z",
   "action": "labeled",
   "label": "CI failed",
   "who": "DrahtBot"
  },
  {
   "t": "2026-08-20T15:01:30Z",
   "action": "unlabeled",
   "label": "CI failed",
   "who": "maflcko"
  },
  {
   "t": "2026-08-20T16:05:33Z",
   "action": "labeled",
   "label": "CI failed",
   "who": "DrahtBot"
  }
 ],
 "state_log": [
  {
   "t": "2026-08-20T13:47:29Z",
   "kind": "convert_to_draft",
   "who": "maflcko"
  },
  {
   "t": "2026-08-20T13:49:20Z",
   "kind": "milestoned",
   "who": "maflcko"
  }
 ],
 "text_chars": 1294,
 "text_tokens_estimate": 323,
 "changed_paths": [
  ".github/workflows/ci.yml",
  "ci/test/00_setup_env_native_nowallet.sh",
  "cmake/module/CheckCXXFeatures.cmake",
  "doc/dependencies.md",
  "doc/release-notes-36036.md",
  "src/.clang-format"
 ],
 "files": [
  {
   "path": ".github/workflows/ci.yml",
   "add": 1,
   "del": 1
  },
  {
   "path": "ci/test/00_setup_env_native_nowallet.sh",
   "add": 3,
   "del": 3
  },
  {
   "path": "cmake/module/CheckCXXFeatures.cmake",
   "add": 8,
   "del": 13
  },
  {
   "path": "doc/dependencies.md",
   "add": 1,
   "del": 1
  },
  {
   "path": "doc/release-notes-36036.md",
   "add": 5,
   "del": 0
  },
  {
   "path": "src/.clang-format",
   "add": 1,
   "del": 1
  }
 ],
 "test_lines": 6,
 "git": {
  "head": "f134342a944b4c07c4a6d84aa72a62520c4b1b63",
  "head_matches_backup": true,
  "base": "08dfaa04f4ca4bd58adc9263fa27f1e7017dff62",
  "commits": [
   {
    "sha": "faa0298b25",
    "subject": "build: Bump clang minimum supported version to 19",
    "files": 4,
    "add": 17,
    "del": 17
   },
   {
    "sha": "faafb7d739",
    "subject": "clang-format: Use Standard: Latest",
    "files": 1,
    "add": 1,
    "del": 1
   },
   {
    "sha": "f134342a94",
    "subject": "ci: warp-ubuntu-2604-x64-8x",
    "files": 1,
    "add": 1,
    "del": 1
   }
  ],
  "patch_truncated": false
 },
 "input_hash": "6c5e36f86346b5ac",
 "extracted_at": "2026-09-17T16:15:31+00:00"
}