)]}'
{
  "commit": "b695011268e3923928afa3a55b68786179cf8cf6",
  "tree": "993acd95b78b23f3f77fd3315355ef3656bbca36",
  "parents": [
    "cc0231da22278451d9b5170f038b787cce4e77f9"
  ],
  "author": {
    "name": "Sam Elliott",
    "email": "selliott@lowrisc.org",
    "time": "Tue Feb 11 20:41:47 2020 +0000"
  },
  "committer": {
    "name": "Philipp Wagner",
    "email": "mail@philipp-wagner.com",
    "time": "Wed Feb 12 16:24:15 2020 +0000"
  },
  "message": "[doc] Add C Style Guide Rules for Symbol Naming\n\nUnlike C++, C does not have user-defined namespaces. This means\nprogrammers need to be a lot more careful when naming types, functions,\nand symbols.\n\nThe following two rules have come up in the software team when\ndiscussing the DIFs, and I feel they are important enough to go into the\nOpenTitan-wide C style guide.\n\n1. All symbols in a particular header must share the same unique prefix.\n2. The names of enumeration constants must be prefixed with the name of\n   their respective enumeration type.\n\nThis commit adds both rules with some explanation as to why they are\nneeded, and some illustrative examples.\n\nSigned-off-by: Sam Elliott \u003cselliott@lowrisc.org\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "45e24b0f0af85f78ec2884786a1e797089abe496",
      "old_mode": 33188,
      "old_path": "doc/rm/c_cpp_coding_style.md",
      "new_id": "0fb84c3e8d826b65f2ce50aea3a1aeabb6a9c1cf",
      "new_mode": 33188,
      "new_path": "doc/rm/c_cpp_coding_style.md"
    }
  ]
}
