[cfe-commits] r163147 - in /cfe/trunk: include/clang-c/Index.h tools/libclang/CIndex.cpp tools/libclang/CXCursor.cpp
Argyrios Kyrtzidis
kyrtzidis at apple.com
Tue Sep 4 15:08:57 PDT 2012
Hi Joao,
Please post this as a patch (with included tests) after the changes it depends on land on trunk again and CC me.
-Argyrios
On Sep 4, 2012, at 10:33 AM, Joao Matos <ripzonetriton at gmail.com> wrote:
> 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;
>
>
> _______________________________________________
> cfe-commits mailing list
> cfe-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
More information about the cfe-commits
mailing list