{"action":"created","issue":{"url":"https://api.github.com/repos/ldc-developers/ldc/issues/2681","repository_url":"https://api.github.com/repos/ldc-developers/ldc","labels_url":"https://api.github.com/repos/ldc-developers/ldc/issues/2681/labels{/name}","comments_url":"https://api.github.com/repos/ldc-developers/ldc/issues/2681/comments","events_url":"https://api.github.com/repos/ldc-developers/ldc/issues/2681/events","html_url":"https://github.com/ldc-developers/ldc/pull/2681","id":320499888,"node_id":"MDExOlB1bGxSZXF1ZXN0MTg2MTUxMzI5","number":2681,"title":"RestrictAll UDA","user":{"login":"mabau","id":6222646,"node_id":"MDQ6VXNlcjYyMjI2NDY=","avatar_url":"https://avatars2.githubusercontent.com/u/6222646?v=4","gravatar_id":"","url":"https://api.github.com/users/mabau","html_url":"https://github.com/mabau","followers_url":"https://api.github.com/users/mabau/followers","following_url":"https://api.github.com/users/mabau/following{/other_user}","gists_url":"https://api.github.com/users/mabau/gists{/gist_id}","starred_url":"https://api.github.com/users/mabau/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mabau/subscriptions","organizations_url":"https://api.github.com/users/mabau/orgs","repos_url":"https://api.github.com/users/mabau/repos","events_url":"https://api.github.com/users/mabau/events{/privacy}","received_events_url":"https://api.github.com/users/mabau/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2018-05-05T10:53:17Z","updated_at":"2018-07-02T20:05:04Z","closed_at":null,"author_association":"NONE","pull_request":{"url":"https://api.github.com/repos/ldc-developers/ldc/pulls/2681","html_url":"https://github.com/ldc-developers/ldc/pull/2681","diff_url":"https://github.com/ldc-developers/ldc/pull/2681.diff","patch_url":"https://github.com/ldc-developers/ldc/pull/2681.patch"},"body":"- added @restrictAll UDA for functions that marks all pointer parameters\r\n  in LLVM as noalias\r\n- analog to restrict keyword in C\r\n\r\nneeds changes in druntime that come with this  [pull request]( https://github.com/ldc-developers/druntime/pull/137)"},"comment":{"url":"https://api.github.com/repos/ldc-developers/ldc/issues/comments/401917878","html_url":"https://github.com/ldc-developers/ldc/pull/2681#issuecomment-401917878","issue_url":"https://api.github.com/repos/ldc-developers/ldc/issues/2681","id":401917878,"node_id":"MDEyOklzc3VlQ29tbWVudDQwMTkxNzg3OA==","user":{"login":"kinke","id":1889215,"node_id":"MDQ6VXNlcjE4ODkyMTU=","avatar_url":"https://avatars0.githubusercontent.com/u/1889215?v=4","gravatar_id":"","url":"https://api.github.com/users/kinke","html_url":"https://github.com/kinke","followers_url":"https://api.github.com/users/kinke/followers","following_url":"https://api.github.com/users/kinke/following{/other_user}","gists_url":"https://api.github.com/users/kinke/gists{/gist_id}","starred_url":"https://api.github.com/users/kinke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kinke/subscriptions","organizations_url":"https://api.github.com/users/kinke/orgs","repos_url":"https://api.github.com/users/kinke/repos","events_url":"https://api.github.com/users/kinke/events{/privacy}","received_events_url":"https://api.github.com/users/kinke/received_events","type":"User","site_admin":false},"created_at":"2018-07-02T20:05:04Z","updated_at":"2018-07-02T20:05:04Z","author_association":"MEMBER","body":"Let's move forward; I assume this is mostly interesting for a few hot key functions, so not supporting slices directly can always be worked around via a nested function taking pointers.\r\nThe current exact semantics are presumably difficult for people not dealing with low-level stuff and/or not used to LLVM IR. I think we can use an experimental/unfinished `@noAliases` UDA (with final name) for the time being and revise the semantics/support slices at a later stage. Other opinions?"}}
{"actor":{"display_login":"kinke"}}