[cfe-commits] r93952 - /cfe/trunk/include/clang-c/Index.h
Douglas Gregor
dgregor at apple.com
Tue Jan 19 16:07:46 PST 2010
Author: dgregor
Date: Tue Jan 19 18:07:45 2010
New Revision: 93952
URL: http://llvm.org/viewvc/llvm-project?rev=93952&view=rev
Log:
CXCursor_UnexposedDecl to the first declaration kind
Modified:
cfe/trunk/include/clang-c/Index.h
Modified: cfe/trunk/include/clang-c/Index.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang-c/Index.h?rev=93952&r1=93951&r2=93952&view=diff
==============================================================================
--- cfe/trunk/include/clang-c/Index.h (original)
+++ cfe/trunk/include/clang-c/Index.h Tue Jan 19 18:07:45 2010
@@ -55,8 +55,16 @@
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 @@
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 */
More information about the cfe-commits
mailing list