]> granicus.if.org Git - clang/commit
Swift Calling Convention: Parameters are allowed after the
authorArnold Schwaighofer <aschwaighofer@apple.com>
Tue, 11 Oct 2016 20:34:06 +0000 (20:34 +0000)
committerArnold Schwaighofer <aschwaighofer@apple.com>
Tue, 11 Oct 2016 20:34:06 +0000 (20:34 +0000)
commit00d311a51369c41efbdae2e4935713fa10bb0e91
tree39b315498ff88e33f5b8c6ef9058b8cc1664006c
parentceb94e6d115bc8cce548b3d76f1fcf24f23421e6
Swift Calling Convention: Parameters are allowed after the
swift_error/swift_context parameter

We need to be able to decelare witness functions which append the self type and
the self witness tables at the end of the parameter list.

rdar://28720996

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@283933 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/SemaType.cpp
test/Sema/attr-swiftcall.c
test/SemaCXX/attr-swiftcall.cpp