[clang] [libclang/python] Add missing concept declaration CursorKind (PR #69125)
Nick Renieris via cfe-commits
cfe-commits at lists.llvm.org
Sun Oct 15 13:20:20 PDT 2023
https://github.com/VelocityRa created https://github.com/llvm/llvm-project/pull/69125
Maps to [`CXCursor_ConceptDecl`](https://github.com/llvm/llvm-project/blob/ee8524087c78a673fcf5486ded69ee597a85e0f1/clang/include/clang-c/Index.h#L2716), added in ee8524087c78a673fcf5486ded69ee597a85e0f1.
>From 2e67a5edb0371d163e46ec3ce8dd2486a374e2b3 Mon Sep 17 00:00:00 2001
From: Nick Renieris <velocityra at gmail.com>
Date: Sun, 15 Oct 2023 23:16:30 +0300
Subject: [PATCH] [libclang/python] Add missing concept declaration CursorKind
Maps to `CXCursor_ConceptDecl`, added in ee85240.
---
clang/bindings/python/clang/cindex.py | 2 ++
1 file changed, 2 insertions(+)
diff --git a/clang/bindings/python/clang/cindex.py b/clang/bindings/python/clang/cindex.py
index ff386d2094a0b88..6a16f3a9ef6e957 100644
--- a/clang/bindings/python/clang/cindex.py
+++ b/clang/bindings/python/clang/cindex.py
@@ -1403,6 +1403,8 @@ def __repr__(self):
CursorKind.STATIC_ASSERT = CursorKind(602)
# A friend declaration
CursorKind.FRIEND_DECL = CursorKind(603)
+# A concept declaration
+CursorKind.CONCEPT_DECL = CursorKind(604)
# A code completion overload candidate.
CursorKind.OVERLOAD_CANDIDATE = CursorKind(700)
More information about the cfe-commits
mailing list