This swaps out the OpenMPDefaultClauseKind enum with a
llvm::omp::DefaultKind enum which is stored in OMPConstants.h.
This should not change any functionality.
Paths
| Differential D74513
[OpenMP][NFCI] Use the libFrontend DefaultKind in Clang ClosedPublic Authored by atmnpatel on Feb 12 2020, 3:38 PM.
Details Summary This swaps out the OpenMPDefaultClauseKind enum with a This should not change any functionality.
Diff Detail
Event TimelineHerald added projects: Restricted Project, Restricted Project. · View Herald TranscriptFeb 12 2020, 3:38 PM Comment Actions One question (below) otherwise this looks good.
This revision is now accepted and ready to land.Feb 12 2020, 10:49 PM Comment Actions
I'll do that later. Ping me if I forget please. Closed by commit rG577c9b02ab57: [OpenMP][NFCI] Use the libFrontend DefaultKind in Clang (authored by atmnpatel, committed by jdoerfert). · Explain WhyFeb 14 2020, 10:43 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 244293 clang/include/clang/AST/OpenMPClause.h
clang/include/clang/ASTMatchers/ASTMatchers.h
clang/include/clang/Basic/OpenMPKinds.h
clang/include/clang/Basic/OpenMPKinds.def
clang/include/clang/Sema/Sema.h
clang/lib/AST/OpenMPClause.cpp
clang/lib/Basic/OpenMPKinds.cpp
clang/lib/Sema/SemaOpenMP.cpp
clang/lib/Sema/TreeTransform.h
clang/lib/Serialization/ASTReader.cpp
clang/lib/Serialization/ASTWriter.cpp
llvm/include/llvm/Frontend/OpenMP/OMPConstants.h
llvm/include/llvm/Frontend/OpenMP/OMPKinds.def
|
Why 2, 3, 4? Do we really need to specify the value here? If not, remove the Value part everywhere, or replace it with unsigned(Enum), and we should be fine.