Support artificial parameters in function types.

Provides the functionality for Clang change r172911 - I just had this still
lying around.