)]}'
{
  "commit": "ed06da7cadc7d2ed2705d5bf43612ce8fc6582ed",
  "tree": "37a648916525c4c35b076f2de9c43e2463e3ca65",
  "parents": [
    "1c688221e0f0a737f34960babfef9d63f8709181"
  ],
  "author": {
    "name": "Zeyi Xu",
    "email": "mitchell.xu2@gmail.com",
    "time": "Mon Jun 08 02:52:26 2026 +0800"
  },
  "committer": {
    "name": "GitHub",
    "email": "noreply@github.com",
    "time": "Mon Jun 08 02:52:26 2026 +0800"
  },
  "message": "[clang-tidy] Preserve line endings in macro-to-enum fixes (#202054)\n\nUse `StringRef::detectEOL()` when inserting enum braces so fix-its do\nnot mix LF into CRLF source files.\n\nCloses https://github.com/llvm/llvm-project/issues/61593",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "1c49c32f9fecbdf1d69d37203bf666a167cc9bfa",
      "old_mode": 33188,
      "old_path": "clang-tools-extra/clang-tidy/modernize/MacroToEnumCheck.cpp",
      "new_id": "aa4732ceba7e051461922210a1c3bf4d99cb5f44",
      "new_mode": 33188,
      "new_path": "clang-tools-extra/clang-tidy/modernize/MacroToEnumCheck.cpp"
    },
    {
      "type": "modify",
      "old_id": "fca6c21f227680d440b6aef9a33f569ad077eafa",
      "old_mode": 33188,
      "old_path": "clang-tools-extra/docs/ReleaseNotes.rst",
      "new_id": "350ff0872c8e568abf0c6107380bd06e8b482789",
      "new_mode": 33188,
      "new_path": "clang-tools-extra/docs/ReleaseNotes.rst"
    },
    {
      "type": "modify",
      "old_id": "3d4df1e9976bcc9cccbddc4102d73a77a27d868f",
      "old_mode": 33188,
      "old_path": "clang-tools-extra/test/.gitattributes",
      "new_id": "3c39030a95eabcbb1f756733cd7f36351d64f09c",
      "new_mode": 33188,
      "new_path": "clang-tools-extra/test/.gitattributes"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "c05d3cd5823bab9927d068776e84eeabf5cef033",
      "new_mode": 33188,
      "new_path": "clang-tools-extra/test/clang-tidy/checkers/modernize/Inputs/macro-to-enum/crlf.cpp"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "31100df321bb3cb4ea16fa3616a61e189791d7c2",
      "new_mode": 33188,
      "new_path": "clang-tools-extra/test/clang-tidy/checkers/modernize/Inputs/macro-to-enum/crlf.cpp.expected"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "ae54e5b7fe4304843760c2aaf591f77a8d94b128",
      "new_mode": 33188,
      "new_path": "clang-tools-extra/test/clang-tidy/checkers/modernize/macro-to-enum-crlf.cpp"
    }
  ]
}
