Remove 'default' case in switch statement in clang_getCursorKindSpelling().  This identified a missing case (warned by the compiler) and identified that CXCursor_FirstDecl didn't actually correspond to the first decl.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@93622 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/include/clang-c/Index.h b/include/clang-c/Index.h
index 79ec0f8..4c9f3a3 100644
--- a/include/clang-c/Index.h
+++ b/include/clang-c/Index.h
@@ -55,24 +55,24 @@
 enum CXCursorKind {
  /* Declarations */
  CXCursor_FirstDecl                     = 1,
- CXCursor_TypedefDecl                   = 2,
- CXCursor_StructDecl                    = 3, 
- CXCursor_UnionDecl                     = 4,
- CXCursor_ClassDecl                     = 5,
- CXCursor_EnumDecl                      = 6,
- CXCursor_FieldDecl                     = 7,
- CXCursor_EnumConstantDecl              = 8,
- CXCursor_FunctionDecl                  = 9,
- CXCursor_VarDecl                       = 10,
- CXCursor_ParmDecl                      = 11,
- CXCursor_ObjCInterfaceDecl             = 12,
- CXCursor_ObjCCategoryDecl              = 13,
- CXCursor_ObjCProtocolDecl              = 14,
- CXCursor_ObjCPropertyDecl              = 15,
- CXCursor_ObjCIvarDecl                  = 16,
- CXCursor_ObjCInstanceMethodDecl        = 17,
- CXCursor_ObjCClassMethodDecl           = 18,
- CXCursor_LastDecl                      = 18,
+ CXCursor_TypedefDecl                   = 1,
+ CXCursor_StructDecl                    = 2, 
+ CXCursor_UnionDecl                     = 3,
+ CXCursor_ClassDecl                     = 4,
+ CXCursor_EnumDecl                      = 5,
+ CXCursor_FieldDecl                     = 6,
+ CXCursor_EnumConstantDecl              = 7,
+ CXCursor_FunctionDecl                  = 8,
+ CXCursor_VarDecl                       = 9,
+ CXCursor_ParmDecl                      = 10,
+ CXCursor_ObjCInterfaceDecl             = 11,
+ CXCursor_ObjCCategoryDecl              = 12,
+ CXCursor_ObjCProtocolDecl              = 13,
+ CXCursor_ObjCPropertyDecl              = 14,
+ CXCursor_ObjCIvarDecl                  = 15,
+ CXCursor_ObjCInstanceMethodDecl        = 16,
+ CXCursor_ObjCClassMethodDecl           = 17,
+ CXCursor_LastDecl                      = 17,
  
  /* Definitions */
  CXCursor_FirstDefn                     = 32,