aboutsummaryrefslogtreecommitdiff
path: root/include/clang-c
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2010-09-01 03:07:18 +0000
committerDouglas Gregor <dgregor@apple.com>2010-09-01 03:07:18 +0000
commit0a35bceb7768fc0be62cb644a4e31d8bfd9fb44a (patch)
tree4ae71942a6fa3da406572486143a0b314537367c /include/clang-c
parent53b9441b5a81a24fa1f66f3f6416f1e36baa9c2f (diff)
Implement libclang support for using directives (cursor + visitation +
suppressing USRs). Also, fix up the source location information for using directives so that the declaration location refers to the namespace name. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@112693 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang-c')
-rw-r--r--include/clang-c/Index.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/clang-c/Index.h b/include/clang-c/Index.h
index bbe9a4de44..7e4902dff2 100644
--- a/include/clang-c/Index.h
+++ b/include/clang-c/Index.h
@@ -996,8 +996,11 @@ enum CXCursorKind {
CXCursor_ClassTemplatePartialSpecialization = 32,
/** \brief A C++ namespace alias declaration. */
CXCursor_NamespaceAlias = 33,
+ /** \brief A C++ using directive. */
+ CXCursor_UsingDirective = 34,
+
CXCursor_FirstDecl = CXCursor_UnexposedDecl,
- CXCursor_LastDecl = CXCursor_NamespaceAlias,
+ CXCursor_LastDecl = CXCursor_UsingDirective,
/* References */
CXCursor_FirstRef = 40, /* Decl references */