diff options
author | Eli Bendersky <eliben@google.com> | 2014-05-28 19:29:58 +0000 |
---|---|---|
committer | Eli Bendersky <eliben@google.com> | 2014-05-28 19:29:58 +0000 |
commit | 2581e66e7a31883e33b22ed66697b7d960aedff8 (patch) | |
tree | 5eb35d22bf19420a2c35933f3668157e689877d5 /clang/include/clang-c | |
parent | 583db1979cfc9db6d3f12f819d19e3248cda87b4 (diff) | |
download | bcm5719-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/include/clang-c')
-rw-r--r-- | clang/include/clang-c/Index.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/clang/include/clang-c/Index.h b/clang/include/clang-c/Index.h index 3d4a229d282..49d2bc40479 100644 --- a/clang/include/clang-c/Index.h +++ b/clang/include/clang-c/Index.h @@ -2168,8 +2168,12 @@ enum CXCursorKind { CXCursor_PureAttr = 409, CXCursor_ConstAttr = 410, CXCursor_NoDuplicateAttr = 411, - CXCursor_LastAttr = CXCursor_NoDuplicateAttr, - + CXCursor_CUDAConstantAttr = 412, + CXCursor_CUDADeviceAttr = 413, + CXCursor_CUDAGlobalAttr = 414, + CXCursor_CUDAHostAttr = 415, + CXCursor_LastAttr = CXCursor_CUDAHostAttr, + /* Preprocessing */ CXCursor_PreprocessingDirective = 500, CXCursor_MacroDefinition = 501, |