Revert r163099 per chandlerc's request.

llvm-svn: 163147
This commit is contained in:
Joao Matos 2012-09-04 17:33:09 +00:00
parent 792d7afdc1
commit f8c8bfc1fc
3 changed files with 1 additions and 9 deletions

View File

@ -1975,9 +1975,7 @@ enum CXCursorKind {
*/
CXCursor_DeclStmt = 231,
CXCursor_SEHLeaveStmt = 232,
CXCursor_LastStmt = CXCursor_SEHLeaveStmt,
CXCursor_LastStmt = CXCursor_DeclStmt,
/**
* \brief Cursor that represents the translation unit itself.

View File

@ -3559,8 +3559,6 @@ CXString clang_getCursorKindSpelling(enum CXCursorKind Kind) {
return createCXString("CXXForRangeStmt");
case CXCursor_SEHTryStmt:
return createCXString("SEHTryStmt");
case CXCursor_SEHLeaveStmt:
return createCXString("SEHLeaveStmt");
case CXCursor_SEHExceptStmt:
return createCXString("SEHExceptStmt");
case CXCursor_SEHFinallyStmt:

View File

@ -197,10 +197,6 @@ CXCursor cxcursor::MakeCXCursor(Stmt *S, Decl *Parent, CXTranslationUnit TU,
K = CXCursor_SEHTryStmt;
break;
case Stmt::SEHLeaveStmtClass:
K = CXCursor_SEHLeaveStmt;
break;
case Stmt::SEHExceptStmtClass:
K = CXCursor_SEHExceptStmt;
break;