{"action":"created","issue":{"url":"https://api.github.com/repos/apple/swift/issues/1271","repository_url":"https://api.github.com/repos/apple/swift","labels_url":"https://api.github.com/repos/apple/swift/issues/1271/labels{/name}","comments_url":"https://api.github.com/repos/apple/swift/issues/1271/comments","events_url":"https://api.github.com/repos/apple/swift/issues/1271/events","html_url":"https://github.com/apple/swift/pull/1271","id":133036770,"number":1271,"title":"Add support for __gnuc_va_list to ClangImporter","user":{"login":"hpux735","id":1170900,"avatar_url":"https://avatars.githubusercontent.com/u/1170900?v=3","gravatar_id":"","url":"https://api.github.com/users/hpux735","html_url":"https://github.com/hpux735","followers_url":"https://api.github.com/users/hpux735/followers","following_url":"https://api.github.com/users/hpux735/following{/other_user}","gists_url":"https://api.github.com/users/hpux735/gists{/gist_id}","starred_url":"https://api.github.com/users/hpux735/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hpux735/subscriptions","organizations_url":"https://api.github.com/users/hpux735/orgs","repos_url":"https://api.github.com/users/hpux735/repos","events_url":"https://api.github.com/users/hpux735/events{/privacy}","received_events_url":"https://api.github.com/users/hpux735/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2016-02-11T17:34:53Z","updated_at":"2016-02-12T03:02:27Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/apple/swift/pulls/1271","html_url":"https://github.com/apple/swift/pull/1271","diff_url":"https://github.com/apple/swift/pull/1271.diff","patch_url":"https://github.com/apple/swift/pull/1271.patch"},"body":"The implementation of va_list is pretty inconsistent across platforms.  On linux-arm __gnuc_va_list is the type used.  This change adds that to ClangImporter.\r\n\r\nThe change to the test is optional, but it dramatically improves the error message printed to the console when the test fails.  \r\n\r\nFinally, the change to the append method of VaListBuilder ensures proper alignment to AAPCS, which is expected by linux-arm as well as watchos-arm.\r\n\r\nRelated issue: https://github.com/SwiftAndroid/swift/issues/15#issuecomment-182967084 @jrose-apple \r\n"},"comment":{"url":"https://api.github.com/repos/apple/swift/issues/comments/183158994","html_url":"https://github.com/apple/swift/pull/1271#issuecomment-183158994","issue_url":"https://api.github.com/repos/apple/swift/issues/1271","id":183158994,"user":{"login":"shahmishal","id":2727770,"avatar_url":"https://avatars.githubusercontent.com/u/2727770?v=3","gravatar_id":"","url":"https://api.github.com/users/shahmishal","html_url":"https://github.com/shahmishal","followers_url":"https://api.github.com/users/shahmishal/followers","following_url":"https://api.github.com/users/shahmishal/following{/other_user}","gists_url":"https://api.github.com/users/shahmishal/gists{/gist_id}","starred_url":"https://api.github.com/users/shahmishal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shahmishal/subscriptions","organizations_url":"https://api.github.com/users/shahmishal/orgs","repos_url":"https://api.github.com/users/shahmishal/repos","events_url":"https://api.github.com/users/shahmishal/events{/privacy}","received_events_url":"https://api.github.com/users/shahmishal/received_events","type":"User","site_admin":false},"created_at":"2016-02-12T03:02:27Z","updated_at":"2016-02-12T03:02:27Z","body":"@swift-ci Please test"}}