)]}'
{
  "commit": "832285ab7dffc8381ae76182b9b1f0f4cbae23d0",
  "tree": "d7136d4fdf641de9f8d3bc72928347c3890dd794",
  "parents": [
    "18332f138c732b8275db2efe60b2cf0c830da565"
  ],
  "author": {
    "name": "David Stone",
    "email": "davidfromonline@gmail.com",
    "time": "Fri May 15 09:52:06 2026 -0600"
  },
  "committer": {
    "name": "GitHub",
    "email": "noreply@github.com",
    "time": "Fri May 15 09:52:06 2026 -0600"
  },
  "message": "[clang][NFC] Unify `MacroState` `isAmbiguous` and `getModuleInfo` (#197867)\n\nEvery call to `MacroState::getModuleInfo`, and `MacroState::isAmbiguous`\nare paired in the same function. Rather than doing the same work twice,\njust unify them into a single function, `getModuleInfo`, that returns\nboth pieces of information in a new type `ModuleMacroInfo`.\n\nUnfortunately, `getModuleInfo` and`ModuleMacroInfo` already exist, so\nrename them to `getFullModuleInfo` and `FullModuleMacroInfo`,\nrespectively, since the new type is a subset of the old type. The new\ntype contains just the pieces consumers care about.\n\nWhile we\u0027re there, use the range constructor of `llvm::DenseSet` instead\nof default constructing and calling `insert` in a loop.",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "19a706216d5093c07d85a86b4ce3888f551e3cc8",
      "old_mode": 33188,
      "old_path": "clang/include/clang/Lex/MacroInfo.h",
      "new_id": "cd47a7048f2c638e61e992776c28c2a3934c34c6",
      "new_mode": 33188,
      "new_path": "clang/include/clang/Lex/MacroInfo.h"
    },
    {
      "type": "modify",
      "old_id": "c0c94b7ea41016a795c1ea388eb2269554e705c5",
      "old_mode": 33188,
      "old_path": "clang/include/clang/Lex/Preprocessor.h",
      "new_id": "eb9e46e7cee898bdcda4d3257d32f1756c67db7c",
      "new_mode": 33188,
      "new_path": "clang/include/clang/Lex/Preprocessor.h"
    },
    {
      "type": "modify",
      "old_id": "20b8fe585a0076a5a515c598b7eba7e81ea84633",
      "old_mode": 33188,
      "old_path": "clang/lib/Lex/PPMacroExpansion.cpp",
      "new_id": "5fd3512d2f45ca8ba391352aa9e0fff9eadc2089",
      "new_mode": 33188,
      "new_path": "clang/lib/Lex/PPMacroExpansion.cpp"
    }
  ]
}
