summaryrefslogtreecommitdiffstats
path: root/clang/bindings/python
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
commit2581e66e7a31883e33b22ed66697b7d960aedff8 (patch)
tree5eb35d22bf19420a2c35933f3668157e689877d5 /clang/bindings/python
parent583db1979cfc9db6d3f12f819d19e3248cda87b4 (diff)
downloadbcm5719-llvm-2581e66e7a31883e33b22ed66697b7d960aedff8.tar.gz
bcm5719-llvm-2581e66e7a31883e33b22ed66697b7d960aedff8.zip
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. llvm-svn: 209767
Diffstat (limited to 'clang/bindings/python')
-rw-r--r--clang/bindings/python/clang/cindex.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/clang/bindings/python/clang/cindex.py b/clang/bindings/python/clang/cindex.py
index cfc27d9b35e..779fa14c887 100644
--- a/clang/bindings/python/clang/cindex.py
+++ b/clang/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
OpenPOWER on IntegriCloud