]> granicus.if.org Git - clang/commitdiff
[python bindings] Expose CXCursor_FriendDecl as CursorKind.FRIEND_DECL
authorOlivier Goffart <ogoffart@woboq.com>
Fri, 4 Nov 2016 06:50:59 +0000 (06:50 +0000)
committerOlivier Goffart <ogoffart@woboq.com>
Fri, 4 Nov 2016 06:50:59 +0000 (06:50 +0000)
CXCursor_FriendDecl was added in r285984

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@285986 91177308-0d34-0410-b5e6-96231b3b80d8

bindings/python/clang/cindex.py

index 7353e86e4310d057d10d887a75982ac968c5e465..c22d2510c62cdf23454027fbb00d82b789d58fd9 100644 (file)
@@ -1317,6 +1317,8 @@ CursorKind.MODULE_IMPORT_DECL = CursorKind(600)
 CursorKind.TYPE_ALIAS_TEMPLATE_DECL = CursorKind(601)
 # A static_assert or _Static_assert node
 CursorKind.STATIC_ASSERT = CursorKind(602)
+# A friend declaration
+CursorKind.FRIEND_DECL = CursorKind(603)
 
 # A code completion overload candidate.
 CursorKind.OVERLOAD_CANDIDATE = CursorKind(700)