diff options
author | Peter Collingbourne <peter@pcc.me.uk> | 2010-12-01 03:15:20 +0000 |
---|---|---|
committer | Peter Collingbourne <peter@pcc.me.uk> | 2010-12-01 03:15:20 +0000 |
commit | 895fcca55a6d52a71639f2472a6623ab2dd9f628 (patch) | |
tree | 1ec8d42d1a17bc3fa9c4e540e77ed09361501fb0 /include/clang/Frontend | |
parent | e2dd6c8cca05494b27f2ad2a86dedf832ac4514f (diff) |
Driver, Frontend: add CUDA language support
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@120544 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/Frontend')
-rw-r--r-- | include/clang/Frontend/FrontendAction.h | 1 | ||||
-rw-r--r-- | include/clang/Frontend/LangStandards.def | 5 |
2 files changed, 6 insertions, 0 deletions
diff --git a/include/clang/Frontend/FrontendAction.h b/include/clang/Frontend/FrontendAction.h index f659b2f42e..e3551d7749 100644 --- a/include/clang/Frontend/FrontendAction.h +++ b/include/clang/Frontend/FrontendAction.h @@ -37,6 +37,7 @@ enum InputKind { IK_PreprocessedObjC, IK_PreprocessedObjCXX, IK_OpenCL, + IK_CUDA, IK_AST, IK_LLVM_IR }; diff --git a/include/clang/Frontend/LangStandards.def b/include/clang/Frontend/LangStandards.def index 52aa463608..d4046b3e56 100644 --- a/include/clang/Frontend/LangStandards.def +++ b/include/clang/Frontend/LangStandards.def @@ -80,4 +80,9 @@ LANGSTANDARD(opencl, "cl", "OpenCL 1.0", BCPLComment | C99 | Digraphs | HexFloat) +// CUDA +LANGSTANDARD(cuda, "cuda", + "NVIDIA CUDA(tm)", + BCPLComment | CPlusPlus | Digraphs) + #undef LANGSTANDARD |