]> granicus.if.org Git - clang/commitdiff
CXCursor_UnexposedDecl to the first declaration kind
authorDouglas Gregor <dgregor@apple.com>
Wed, 20 Jan 2010 00:07:45 +0000 (00:07 +0000)
committerDouglas Gregor <dgregor@apple.com>
Wed, 20 Jan 2010 00:07:45 +0000 (00:07 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@93952 91177308-0d34-0410-b5e6-96231b3b80d8

include/clang-c/Index.h

index 1abf6490e7c1c09da6ccbe7f52d4c5e75817d72e..35b5f81308159dc8faa7672264f4d89967ab1f80 100644 (file)
@@ -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 */