From d211c648b901df63e7ff0f14fe393883a168b703 Mon Sep 17 00:00:00 2001 From: Olivier Goffart Date: Fri, 4 Nov 2016 06:29:27 +0000 Subject: [index] Expose FriendDecl Differential Revision: https://reviews.llvm.org/D26285 llvm-svn: 285984 --- clang/include/clang-c/Index.h | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'clang/include/clang-c') diff --git a/clang/include/clang-c/Index.h b/clang/include/clang-c/Index.h index 710f7377ee3..8197cf72a87 100644 --- a/clang/include/clang-c/Index.h +++ b/clang/include/clang-c/Index.h @@ -32,7 +32,7 @@ * compatible, thus CINDEX_VERSION_MAJOR is expected to remain stable. */ #define CINDEX_VERSION_MAJOR 0 -#define CINDEX_VERSION_MINOR 35 +#define CINDEX_VERSION_MINOR 36 #define CINDEX_VERSION_ENCODE(major, minor) ( \ ((major) * 10000) \ @@ -2404,8 +2404,12 @@ enum CXCursorKind { * \brief A static_assert or _Static_assert node */ CXCursor_StaticAssert = 602, + /** + * \brief a friend declaration. + */ + CXCursor_FriendDecl = 603, CXCursor_FirstExtraDecl = CXCursor_ModuleImportDecl, - CXCursor_LastExtraDecl = CXCursor_StaticAssert, + CXCursor_LastExtraDecl = CXCursor_FriendDecl, /** * \brief A code completion overload candidate. -- cgit v1.2.3