)]}'
{
  "commit": "fe0d3e3764961b62f43f1b129f30aaec5f30bc16",
  "tree": "6a9d2ed296e15b56d3920f6b7c0a3279c1de3f6f",
  "parents": [
    "646a6e7f1088355d979be4fd58d8a56a96d1fea2"
  ],
  "author": {
    "name": "Kuo, Mei-Chun",
    "email": "94007620+Megan0704-1@users.noreply.github.com",
    "time": "Wed Mar 12 21:52:42 2025 -0700"
  },
  "committer": {
    "name": "GitHub",
    "email": "noreply@github.com",
    "time": "Thu Mar 13 05:52:42 2025 +0100"
  },
  "message": "[Sema] Diagnose by-value copy constructors in template instantiations (#130866)\n\nFixes #80963 \n\nThis PR ensures Clang diagnoses by-value copy constructors in implicitly\ninstantiated class templates (e.g., `A\u003cint, int\u003e(A\u003cint, int\u003e)`), per\n[class.copy.ctor].\n\nChanges: \n- Remove `TSK_ImplicitInstantiation` check in `SemaDeclCXX.cpp`.\n- Add `!isFunctionTemplateSpecialization()` to skip templated\nconstructors.\n- Add regression tests.",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "e16cfc69590fa0b130a5d5ceea5cfcad09f2c124",
      "old_mode": 33188,
      "old_path": "clang/docs/ReleaseNotes.rst",
      "new_id": "36215af5bc7b0d72075f0eddd28714dd8b9233ae",
      "new_mode": 33188,
      "new_path": "clang/docs/ReleaseNotes.rst"
    },
    {
      "type": "modify",
      "old_id": "96aac7871db1e577474152ec4075c6ce2dd6a38f",
      "old_mode": 33188,
      "old_path": "clang/lib/Sema/SemaDeclCXX.cpp",
      "new_id": "1c62a551ee732f8efa28927004b5b969c43c53f3",
      "new_mode": 33188,
      "new_path": "clang/lib/Sema/SemaDeclCXX.cpp"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "c58bd7c0c5e10d965cadcb7b4f89979ce8e618c5",
      "new_mode": 33188,
      "new_path": "clang/test/SemaCXX/copy-ctor-template.cpp"
    },
    {
      "type": "modify",
      "old_id": "a89dc60cfa3470757afb376d0f730c404cb31fba",
      "old_mode": 33188,
      "old_path": "clang/test/SemaTemplate/constructor-template.cpp",
      "new_id": "13f00beb1ffc54f7e713a2ff6382fa4cf5e40202",
      "new_mode": 33188,
      "new_path": "clang/test/SemaTemplate/constructor-template.cpp"
    }
  ]
}
