)]}'
{
  "commit": "cca6459b4fe68593137cb0f3ede7d1415cdbd522",
  "tree": "0afa5d9b94e28a8bb805f26b21ccf2d7c80567de",
  "parents": [
    "ba7a202ffac695dd2c6c9c7254d34d89dea68eaf"
  ],
  "author": {
    "name": "Gabe Black",
    "email": "gabeblack@google.com",
    "time": "Mon Jan 29 14:42:26 2018 -0800"
  },
  "committer": {
    "name": "Gabe Black",
    "email": "gabeblack@google.com",
    "time": "Mon Jan 29 23:48:24 2018 +0000"
  },
  "message": "base: Remove the ability to cprintf stringstreams directly.\n\nThe cprintf functions don\u0027t know ahead of time what format characters\nare going to be used with what underlying data types, and so any\ntype must be minimally usable with the default specialization of\nformat_integer, format_char, format_float and format_string. All of\nthose functions ultimately print their parameter with out \u003c\u003c data\nexcept the one which prints stringstreams. That function accesses the\nbuffer of the string stream with .str(), and then prints that instead.\n\nThat should technically work out ok as long as stringstreams are only\nprinted using %s, but there\u0027s no way to guarantee that ahead of time.\nTo avoid that problem, and because gem5 doesn\u0027t ever actually use the\nability to print stringstreams directly, this change removes that\nfeature and modifies the corresponding part of the unit test.\n\nIf we ever do want to print the contents of a string stream, it won\u0027t\nbe difficult to add a .str() to it.\n\nChange-Id: Id902eaff042b96b374efe0183e5e3be9626e8c88\nReviewed-on: https://gem5-review.googlesource.com/7642\nReviewed-by: Jason Lowe-Power \u003cjason@lowepower.com\u003e\nMaintainer: Gabe Black \u003cgabeblack@google.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "4c78fdf5026871400193694bac168e6105f199e8",
      "old_mode": 33188,
      "old_path": "src/base/cprintf_formats.hh",
      "new_id": "f55fb955e6d0c704f9b4c9f0d2a650002ca2b25c",
      "new_mode": 33188,
      "new_path": "src/base/cprintf_formats.hh"
    },
    {
      "type": "modify",
      "old_id": "86694ed834cab9e7739ef676a21175ab15dbf801",
      "old_mode": 33188,
      "old_path": "src/base/cprintftest.cc",
      "new_id": "3a1b97e409033e2a413958a88fe03ce87354860e",
      "new_mode": 33188,
      "new_path": "src/base/cprintftest.cc"
    }
  ]
}
