{"action":"created","issue":{"url":"https://api.github.com/repos/uncrustify/uncrustify/issues/990","repository_url":"https://api.github.com/repos/uncrustify/uncrustify","labels_url":"https://api.github.com/repos/uncrustify/uncrustify/issues/990/labels{/name}","comments_url":"https://api.github.com/repos/uncrustify/uncrustify/issues/990/comments","events_url":"https://api.github.com/repos/uncrustify/uncrustify/issues/990/events","html_url":"https://github.com/uncrustify/uncrustify/pull/990","id":205354572,"number":990,"title":"Refactor enums","user":{"login":"CDanU","id":15148226,"avatar_url":"https://avatars.githubusercontent.com/u/15148226?v=3","gravatar_id":"","url":"https://api.github.com/users/CDanU","html_url":"https://github.com/CDanU","followers_url":"https://api.github.com/users/CDanU/followers","following_url":"https://api.github.com/users/CDanU/following{/other_user}","gists_url":"https://api.github.com/users/CDanU/gists{/gist_id}","starred_url":"https://api.github.com/users/CDanU/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CDanU/subscriptions","organizations_url":"https://api.github.com/users/CDanU/orgs","repos_url":"https://api.github.com/users/CDanU/repos","events_url":"https://api.github.com/users/CDanU/events{/privacy}","received_events_url":"https://api.github.com/users/CDanU/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":8,"created_at":"2017-02-04T15:37:36Z","updated_at":"2017-02-06T17:16:46Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/uncrustify/uncrustify/pulls/990","html_url":"https://github.com/uncrustify/uncrustify/pull/990","diff_url":"https://github.com/uncrustify/uncrustify/pull/990.diff","patch_url":"https://github.com/uncrustify/uncrustify/pull/990.patch"},"body":"Now that we use C++11 I would like to refactor the enums so that they become strongly typed enums. This is also a good opportunity to rename and make them more standardized.\r\n\r\nTell me what you think about this. \r\nThe ones I pushed are the easy cases. It gets more complicated when the enum values are used for calculations. For this cases the enum values need to be casted with the help of std::underlying_type."},"comment":{"url":"https://api.github.com/repos/uncrustify/uncrustify/issues/comments/277749067","html_url":"https://github.com/uncrustify/uncrustify/pull/990#issuecomment-277749067","issue_url":"https://api.github.com/repos/uncrustify/uncrustify/issues/990","id":277749067,"user":{"login":"gmaurel","id":11668016,"avatar_url":"https://avatars.githubusercontent.com/u/11668016?v=3","gravatar_id":"","url":"https://api.github.com/users/gmaurel","html_url":"https://github.com/gmaurel","followers_url":"https://api.github.com/users/gmaurel/followers","following_url":"https://api.github.com/users/gmaurel/following{/other_user}","gists_url":"https://api.github.com/users/gmaurel/gists{/gist_id}","starred_url":"https://api.github.com/users/gmaurel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gmaurel/subscriptions","organizations_url":"https://api.github.com/users/gmaurel/orgs","repos_url":"https://api.github.com/users/gmaurel/repos","events_url":"https://api.github.com/users/gmaurel/events{/privacy}","received_events_url":"https://api.github.com/users/gmaurel/received_events","type":"User","site_admin":false},"created_at":"2017-02-06T17:16:46Z","updated_at":"2017-02-06T17:16:46Z","body":"My question is still present:\r\nWhat style do we wanted to have?\r\nAs example ```enum class brace_stage_e : uint8_t\r\nenum class brace_stage_e:uint8_t\r\nenum class brace_stage_e : uint8_t\r\nenum class brace_stage_e :                       uint8_t\r\nenum class brace_stage_e :\r\n   uint8_t\r\nenum class brace_stage_e\r\n   : uint8_t\r\n```"}}
{"actor":{"display_login":"gmaurel"}}