{"action":"created","issue":{"url":"https://api.github.com/repos/uncrustify/uncrustify/issues/575","repository_url":"https://api.github.com/repos/uncrustify/uncrustify","labels_url":"https://api.github.com/repos/uncrustify/uncrustify/issues/575/labels{/name}","comments_url":"https://api.github.com/repos/uncrustify/uncrustify/issues/575/comments","events_url":"https://api.github.com/repos/uncrustify/uncrustify/issues/575/events","html_url":"https://github.com/uncrustify/uncrustify/issues/575","id":166760402,"number":575,"title":"Wrong newlines after = assignments","user":{"login":"Massimo-B","id":3286728,"avatar_url":"https://avatars.githubusercontent.com/u/3286728?v=3","gravatar_id":"","url":"https://api.github.com/users/Massimo-B","html_url":"https://github.com/Massimo-B","followers_url":"https://api.github.com/users/Massimo-B/followers","following_url":"https://api.github.com/users/Massimo-B/following{/other_user}","gists_url":"https://api.github.com/users/Massimo-B/gists{/gist_id}","starred_url":"https://api.github.com/users/Massimo-B/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Massimo-B/subscriptions","organizations_url":"https://api.github.com/users/Massimo-B/orgs","repos_url":"https://api.github.com/users/Massimo-B/repos","events_url":"https://api.github.com/users/Massimo-B/events{/privacy}","received_events_url":"https://api.github.com/users/Massimo-B/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":9,"created_at":"2016-07-21T08:05:27Z","updated_at":"2016-07-26T06:52:43Z","closed_at":null,"body":"```cpp\r\n$ (cfg=\"https://bitbucket.org/massimo/configs/raw/72329a67bd4fa2f321faf3e6df1ab6e7dd90f262/uncrustify.cfg\" ; input=\"https://bitbucket.org/massimo/test/raw/c7fec4fca601bec29cb35946ab92edd642bda02b/crusty-test_001.cpp\" ; uncrustify -v ; curl -s \"$input\" ; curl -s \"$input\" | uncrustify -l cpp -c <(curl -s \"$cfg\") )\r\n\r\nuncrustify 0.63\r\nvoid Foo::doo()\r\n{\r\n    m_stackCache[m_currentStackNr]->operator [](0) = new QStandardItem(QString::number(m_currentStackNr));\r\n    m_stackCache[m_currentStackNr]->operator [](1) = new QStandardItem(tr(\"OK\"));\r\n    m_stackCache[m_currentStackNr]->operator [](2) = new QStandardItem(\"0\");\r\n    m_stackCache[m_currentStackNr]->operator [](3) = new QStandardItem(\"0\");\r\n    m_stackCache[m_currentStackNr]->operator [](4) = new QStandardItem();\r\n}                                                                                                   \r\nParsing: 536 bytes (536 chars) from stdin as language CPP\r\nvoid                                         Foo::doo()\r\n{\r\n    m_stackCache[m_currentStackNr]->operator [](0) = new QStandardItem(QString::number(m_currentStackNr));\r\n    m_stackCache[m_currentStackNr]->operator [](1) = new QStandardItem(tr(\"OK\"));\r\n\r\n    m_stackCache[m_currentStackNr]->operator [](2) = new QStandardItem(\"0\");\r\n\r\n    m_stackCache[m_currentStackNr]->operator [](3) = new QStandardItem(\"0\");\r\n\r\n    m_stackCache[m_currentStackNr]->operator [](4) = new QStandardItem();\r\n}\r\n```\r\nThere are too many additional newlines that are only added for some of those lines.\r\n\r\nBeside that, the function name is aligned to operator argument of the body which does not make sense at all. Is that possible to configure or a bug?"},"comment":{"url":"https://api.github.com/repos/uncrustify/uncrustify/issues/comments/235178347","html_url":"https://github.com/uncrustify/uncrustify/issues/575#issuecomment-235178347","issue_url":"https://api.github.com/repos/uncrustify/uncrustify/issues/575","id":235178347,"user":{"login":"Massimo-B","id":3286728,"avatar_url":"https://avatars.githubusercontent.com/u/3286728?v=3","gravatar_id":"","url":"https://api.github.com/users/Massimo-B","html_url":"https://github.com/Massimo-B","followers_url":"https://api.github.com/users/Massimo-B/followers","following_url":"https://api.github.com/users/Massimo-B/following{/other_user}","gists_url":"https://api.github.com/users/Massimo-B/gists{/gist_id}","starred_url":"https://api.github.com/users/Massimo-B/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Massimo-B/subscriptions","organizations_url":"https://api.github.com/users/Massimo-B/orgs","repos_url":"https://api.github.com/users/Massimo-B/repos","events_url":"https://api.github.com/users/Massimo-B/events{/privacy}","received_events_url":"https://api.github.com/users/Massimo-B/received_events","type":"User","site_admin":false},"created_at":"2016-07-26T06:52:43Z","updated_at":"2016-07-26T06:52:43Z","body":"I reverted my configuration step by step and found the culprit. Setting\r\n`nl_after_func_proto_group                 = 2`\r\nin my configuration fixes the issue. However this is an incorrect behaviour for that option."}}
{"actor":{"display_login":"Massimo-B"}}