Adds initial parsing and sema for the 'adjust_args' clause.
Note that an AST clause is not created as it instead adds its expressions to the OMPDeclareVariantAttr.
Paths
| Differential D99905
[OPENMP51]Initial parsing/sema for adjust_args clause for 'declare variant' ClosedPublic Authored by mikerice on Apr 5 2021, 4:09 PM.
Details Summary Adds initial parsing and sema for the 'adjust_args' clause. Note that an AST clause is not created as it instead adds its expressions to the OMPDeclareVariantAttr.
Diff Detail Event TimelineComment Actions Thanks for taking a look at this.
mikerice marked 2 inline comments as done. Comment ActionsAddressed review comments, fixed switch warning. mikerice marked an inline comment as done. Comment ActionsAddressed review comments.
This revision is now accepted and ready to land.Oct 13 2021, 4:58 AM This revision was landed with ongoing or failed builds.Oct 13 2021, 9:43 AM Closed by commit rGfb4c451001d0: [OPENMP51]Initial parsing/sema for adjust_args clause for 'declare variant' (authored by mikerice). · Explain Why This revision was automatically updated to reflect the committed changes. Herald added projects: Restricted Project, Restricted Project. · View Herald TranscriptOct 13 2021, 9:43 AM
Revision Contents
Diff 379196 clang/include/clang/Basic/Attr.td
clang/include/clang/Basic/DiagnosticParseKinds.td
clang/include/clang/Basic/DiagnosticSemaKinds.td
clang/include/clang/Basic/OpenMPKinds.h
clang/include/clang/Basic/OpenMPKinds.def
clang/include/clang/Sema/Sema.h
clang/lib/AST/AttrImpl.cpp
clang/lib/Basic/OpenMPKinds.cpp
clang/lib/CodeGen/CGStmtOpenMP.cpp
clang/lib/Parse/ParseOpenMP.cpp
clang/lib/Sema/SemaOpenMP.cpp
clang/lib/Sema/SemaTemplateInstantiateDecl.cpp
clang/test/OpenMP/declare_variant_clauses_ast_print.cpp
clang/test/OpenMP/declare_variant_clauses_messages.cpp
clang/test/OpenMP/declare_variant_messages.c
clang/test/OpenMP/declare_variant_messages.cpp
flang/lib/Semantics/check-omp-structure.cpp
llvm/include/llvm/Frontend/OpenMP/OMP.td
|