summaryrefslogtreecommitdiffstats
path: root/bindings
diff options
context:
space:
mode:
authorEli Bendersky <eliben@google.com>2014-05-28 19:29:58 +0000
committerEli Bendersky <eliben@google.com>2014-05-28 19:29:58 +0000
commitf722606af2c9dbc2d24705254bdf89bcc48a7a79 (patch)
tree72f97592f114a162b4d7b7954c278114b83e4958 /bindings
parent5ff1d8a32b03cd24659fccae6eca1700193bdcbc (diff)
Expose CUDA function attributes to the C interface.
Until now all CUDA-specific attributes were represented with CXCursor_UnexposedAttr; now they are actually implemented, including the Python bindings. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@209767 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'bindings')
-rw-r--r--bindings/python/clang/cindex.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/bindings/python/clang/cindex.py b/bindings/python/clang/cindex.py
index cfc27d9b35..779fa14c88 100644
--- a/bindings/python/clang/cindex.py
+++ b/bindings/python/clang/cindex.py
@@ -1082,6 +1082,10 @@ CursorKind.PACKED_ATTR = CursorKind(408)
CursorKind.PURE_ATTR = CursorKind(409)
CursorKind.CONST_ATTR = CursorKind(410)
CursorKind.NODUPLICATE_ATTR = CursorKind(411)
+CursorKind.CUDACONSTANT_ATTR = CursorKind(412)
+CursorKind.CUDADEVICE_ATTR = CursorKind(413)
+CursorKind.CUDAGLOBAL_ATTR = CursorKind(414)
+CursorKind.CUDAHOST_ATTR = CursorKind(415)
###
# Preprocessing