Added basic parsing/sema support for device/kind context selector.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
- Build Status
Buildable 40957 Build 41104: arc lint + arc unit
Paths
| Differential D70245
[OPENMP50]Add device/kind context selector support. ClosedPublic Authored by ABataev on Nov 14 2019, 8:17 AM.
Details
Summary Added basic parsing/sema support for device/kind context selector.
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Nov 21 2019, 9:11 AM Closed by commit rG4e8231b5cf0f: [OPENMP50]Add device/kind context selector support. (authored by ABataev). · Explain WhyNov 21 2019, 10:41 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 229315 clang/include/clang/Basic/Attr.td
clang/include/clang/Basic/DiagnosticParseKinds.td
clang/include/clang/Basic/OpenMPKinds.def
clang/lib/CodeGen/CGOpenMPRuntime.cpp
clang/lib/Parse/ParseOpenMP.cpp
clang/lib/Sema/SemaOpenMP.cpp
clang/lib/Sema/SemaTemplateInstantiateDecl.cpp
clang/test/OpenMP/declare_variant_ast_print.c
clang/test/OpenMP/declare_variant_ast_print.cpp
clang/test/OpenMP/declare_variant_device_kind_codegen.cpp
clang/test/OpenMP/declare_variant_messages.c
clang/test/OpenMP/declare_variant_messages.cpp
clang/test/OpenMP/declare_variant_mixed_codegen.cpp
clang/test/OpenMP/nvptx_declare_variant_device_kind_codegen.cpp
|
Nit: bool RHSIsSubsetOfLHS = isStrictSubset(RHS, LHS)
saves you a line later.