================
@@ -153,6 +153,8 @@ void LangOptions::setLangDefaults(LangOptions &Opts, 
Language Lang,
     Opts.OpenCLVersion = 200;
   else if (LangStd == LangStandard::lang_opencl30)
     Opts.OpenCLVersion = 300;
+  else if (LangStd == LangStandard::lang_opencl31)
----------------
wenju-he wrote:

> A separate refactoring really ought to replace this with a switch

sure, will follow up, thanks.

https://github.com/llvm/llvm-project/pull/204043
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to