The commit renames language standard from openclcpp to openclcpp10.
It also enables run line arguments -cl-std=clc++1.0 and
-cl-std=CLC++1.0.
Details
- Reviewers
Anastasia - Commits
- rG577220e89866: [OpenCL] Add std flag aliases clc++1.0 and CLC++1.0
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
clc++ made no longer deprecated
clang/include/clang/Basic/LangStandards.def | ||
---|---|---|
187 | You are right. I tried to closely follow how cl1.0 version is regarded on line 169, but it is a slightly different case because cl has more than one version already. | |
clang/test/Driver/unknown-std.cl | ||
14 | The error messages here are derived from language definitions in file Basic/LangStandards.def, so both files need to be modified accordingly. |
Quick note to prevent some confusion: I saw this patch and realized that the LLDB change was only necessary because some Clang code got copy pasted into LLDB. I removed that copy in https://reviews.llvm.org/D106537 so if you see merge conflicts while merging this, you can just drop the LLDB changes as they shouldn't be necessary once my patch landed. Thanks!
I am not sure we should move it into the deprecated category yet... for now let's just use LANGSTANDARD_ALIAS.