diff options
author | Tanya Lattner <tonic@nondot.org> | 2011-06-04 00:47:47 +0000 |
---|---|---|
committer | Tanya Lattner <tonic@nondot.org> | 2011-06-04 00:47:47 +0000 |
commit | 61eee0ca33b29e102f11bab77c8b74cc00e2392b (patch) | |
tree | 6d15da9dbb7e38437454db0f20493b479bc4eedb /include/clang/Serialization/ASTBitCodes.h | |
parent | 9198126067a447f8aaccf9fff09be294c8bcb81e (diff) |
Add support for builtin astype:
__builtin_astype(): Used to reinterpreted as another data type of the same size using for both scalar and vector data types.
Added test case.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@132612 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/Serialization/ASTBitCodes.h')
-rw-r--r-- | include/clang/Serialization/ASTBitCodes.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/include/clang/Serialization/ASTBitCodes.h b/include/clang/Serialization/ASTBitCodes.h index 96885075af..c881b23ed1 100644 --- a/include/clang/Serialization/ASTBitCodes.h +++ b/include/clang/Serialization/ASTBitCodes.h @@ -1003,7 +1003,10 @@ namespace clang { // CUDA - EXPR_CUDA_KERNEL_CALL // CUDAKernelCallExpr + EXPR_CUDA_KERNEL_CALL, // CUDAKernelCallExpr + + // OpenCL + EXPR_ASTYPE // An AsTypeExpr record. }; /// \brief The kinds of designators that can occur in a |