GNU runtime tidy

This patch tidies up the fetching of the id type in the GNU runtime. This code predates Sema having a sensible value, but now that it does it is used.

This patch also makes IMPTy a FunctionType. This doesn't make any difference, but since it is a FunctionType it makes more sense than having it as a Type.

David

clang.diff (1.1 KB)