From: Douglas Gregor Date: Wed, 20 Jan 2010 00:07:45 +0000 (+0000) Subject: CXCursor_UnexposedDecl to the first declaration kind X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=36103f4d8b79f5e88f359c1fbff13586979866ef;p=clang CXCursor_UnexposedDecl to the first declaration kind git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@93952 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/clang-c/Index.h b/include/clang-c/Index.h index 1abf6490e7..35b5f81308 100644 --- a/include/clang-c/Index.h +++ b/include/clang-c/Index.h @@ -55,8 +55,16 @@ typedef void *CXStmt; /* A specific statement within a function/method */ enum CXCursorKind { /* Declarations */ CXCursor_FirstDecl = 1, - /** \brief A typedef */ - CXCursor_TypedefDecl = 1, + /** + * \brief A declaration whose specific kind is not exposed via this + * interface. + * + * Unexposed declarations have the same operations as any other kind + * of declaration; one can extract their location information, + * spelling, find their definitions, etc. However, the specific kind + * of the declaration is not reported. + */ + CXCursor_UnexposedDecl = 1, /** \brief A C or C++ struct. */ CXCursor_StructDecl = 2, /** \brief A C or C++ union. */ @@ -96,16 +104,8 @@ enum CXCursorKind { CXCursor_ObjCImplementationDecl = 18, /** \brief An Objective-C @implementation for a category. */ CXCursor_ObjCCategoryImplDecl = 19, - /** - * \brief A declaration whose specific kind is not exposed via this - * interface. - * - * Unexposed declarations have the same operations as any other kind - * of declaration; one can extract their location information, - * spelling, find their definitions, etc. However, the specific kind - * of the declaration is not reported. - */ - CXCursor_UnexposedDecl = 20, + /** \brief A typedef */ + CXCursor_TypedefDecl = 20, CXCursor_LastDecl = 20, /* References */