This patch fixes a crash that occurs when __kindof is incorrectly used in the type parameter list of an interface. The crash occurs because ObjCTypeParamList::back() is called in checkTypeParamListConsistency on an empty list:
00762 diagLoc = S.getLocForEndOfToken(newTypeParams->back()->getLocEnd());