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)
commit5bb08d8f5ab7bfbb40fa101507f2a5e676d643cf
tree2f2538ea1f8c736bc55ce3d4a48404cf4bf55e8a
parent5d2c510cf64f1348f452acda7e5d1a35f08fd4eb
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

llvm-svn: 283933
clang/lib/Sema/SemaType.cpp
clang/test/Sema/attr-swiftcall.c
clang/test/SemaCXX/attr-swiftcall.cpp