[Lldb-commits] [lldb] 41454c3 - Updated LLDB for the new Clang Language enumerator 'OpenCLCXX'

Dmitri Gribenko via lldb-commits lldb-commits at lists.llvm.org
Wed Mar 24 08:46:13 PDT 2021


Author: Dmitri Gribenko
Date: 2021-03-24T16:46:02+01:00
New Revision: 41454c30f6a38c3e107d857e63da0561610fd141

URL: https://github.com/llvm/llvm-project/commit/41454c30f6a38c3e107d857e63da0561610fd141
DIFF: https://github.com/llvm/llvm-project/commit/41454c30f6a38c3e107d857e63da0561610fd141.diff

LOG: Updated LLDB for the new Clang Language enumerator 'OpenCLCXX'

Added: 
    

Modified: 
    lldb/source/Plugins/TypeSystem/Clang/TypeSystemClang.cpp

Removed: 
    


################################################################################
diff  --git a/lldb/source/Plugins/TypeSystem/Clang/TypeSystemClang.cpp b/lldb/source/Plugins/TypeSystem/Clang/TypeSystemClang.cpp
index a61666adebaad..d1add1111b864 100644
--- a/lldb/source/Plugins/TypeSystem/Clang/TypeSystemClang.cpp
+++ b/lldb/source/Plugins/TypeSystem/Clang/TypeSystemClang.cpp
@@ -477,6 +477,9 @@ static void ParseLangArgs(LangOptions &Opts, InputKind IK, const char *triple) {
     case clang::Language::OpenCL:
       LangStd = LangStandard::lang_opencl10;
       break;
+    case clang::Language::OpenCLCXX:
+      LangStd = LangStandard::lang_openclcpp;
+      break;
     case clang::Language::CUDA:
       LangStd = LangStandard::lang_cuda;
       break;


        


More information about the lldb-commits mailing list