{"thread":{"id":"52240","subject":"coccinelle: simplify hashmap.cocci?","startedAt":"2019-11-12T14:40:16Z","lastAt":"2019-11-12T14:40:16Z","messageCount":1,"participants":["Markus Elfring"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"386015","messageId":"4790d483-bcb8-57f0-5c69-912a814ddade@web.de","threadId":"52240","inReplyTo":null,"subject":"coccinelle: simplify hashmap.cocci?","fromName":"Markus Elfring","fromEmail":"markus.elfring@web.de","sentAt":"2019-11-12T14:40:06Z","receivedAt":"2019-11-12T14:40:16Z","isPatch":false,"sender":{"key":"markus.elfring@web.de","avatar":null},"body":"Hello,\n\nI would like to comment implementation details from\nthe commit 12878c83516e3b82f31a20f1b5431b7ff607a8db (\"coccicheck: detect hashmap_entry.hash assignment\").\n\n\n1. Would you occasionally like to try a change specification out\n   like the following?\n\n-HME.hash =\n+hashmap_entry_init(&HME,\n E\n+)\n ;\n\n\n2. How do you think about to use a code variant (for the semantic patch language)\n   which can work without a regular expression for the exclusion of a single item?\n\nidentifier f != hashmap_entry_init;\n\n\nRegards,\nMarkus\n"}]}