[cfe-commits] r163147 - in /cfe/trunk: include/clang-c/Index.h tools/libclang/CIndex.cpp tools/libclang/CXCursor.cpp

Joao Matos ripzonetriton at gmail.com
Tue Sep 4 10:33:09 PDT 2012


Author: triton
Date: Tue Sep  4 12:33:09 2012
New Revision: 163147

URL: http://llvm.org/viewvc/llvm-project?rev=163147&view=rev
Log:
Revert r163099 per chandlerc's request.

Modified:
    cfe/trunk/include/clang-c/Index.h
    cfe/trunk/tools/libclang/CIndex.cpp
    cfe/trunk/tools/libclang/CXCursor.cpp

Modified: cfe/trunk/include/clang-c/Index.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang-c/Index.h?rev=163147&r1=163146&r2=163147&view=diff
==============================================================================
--- cfe/trunk/include/clang-c/Index.h (original)
+++ cfe/trunk/include/clang-c/Index.h Tue Sep  4 12:33:09 2012
@@ -1975,9 +1975,7 @@
    */
   CXCursor_DeclStmt                      = 231,
 
-  CXCursor_SEHLeaveStmt                  = 232,
-
-  CXCursor_LastStmt                      = CXCursor_SEHLeaveStmt,
+  CXCursor_LastStmt                      = CXCursor_DeclStmt,
 
   /**
    * \brief Cursor that represents the translation unit itself.

Modified: cfe/trunk/tools/libclang/CIndex.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/tools/libclang/CIndex.cpp?rev=163147&r1=163146&r2=163147&view=diff
==============================================================================
--- cfe/trunk/tools/libclang/CIndex.cpp (original)
+++ cfe/trunk/tools/libclang/CIndex.cpp Tue Sep  4 12:33:09 2012
@@ -3559,8 +3559,6 @@
       return createCXString("CXXForRangeStmt");
   case CXCursor_SEHTryStmt:
       return createCXString("SEHTryStmt");
-  case CXCursor_SEHLeaveStmt:
-      return createCXString("SEHLeaveStmt");
   case CXCursor_SEHExceptStmt:
       return createCXString("SEHExceptStmt");
   case CXCursor_SEHFinallyStmt:

Modified: cfe/trunk/tools/libclang/CXCursor.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/tools/libclang/CXCursor.cpp?rev=163147&r1=163146&r2=163147&view=diff
==============================================================================
--- cfe/trunk/tools/libclang/CXCursor.cpp (original)
+++ cfe/trunk/tools/libclang/CXCursor.cpp Tue Sep  4 12:33:09 2012
@@ -197,10 +197,6 @@
     K = CXCursor_SEHTryStmt;
     break;
   
-  case Stmt::SEHLeaveStmtClass:
-    K = CXCursor_SEHLeaveStmt;
-    break;
-  
   case Stmt::SEHExceptStmtClass:
     K = CXCursor_SEHExceptStmt;
     break;





More information about the cfe-commits mailing list