[all-commits] [llvm/llvm-project] 5b9ce0: [openmp] Use Directive_enumSize instead of OMPD_un...
Valentin Clement (バレンタイン クレメン) via All-commits
all-commits at lists.llvm.org
Thu Jun 25 06:19:16 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 5b9ce07a761f7d62ad793f9827750243de597215
https://github.com/llvm/llvm-project/commit/5b9ce07a761f7d62ad793f9827750243de597215
Author: Valentin Clement <clementval at gmail.com>
Date: 2020-06-25 (Thu, 25 Jun 2020)
Changed paths:
M clang/lib/Basic/OpenMPKinds.cpp
M clang/lib/Parse/ParseOpenMP.cpp
Log Message:
-----------
[openmp] Use Directive_enumSize instead of OMPD_unknown position
Summary:
Previously OMPD_unknown was last item in the Directive enumeration and its position was
used in various comparison and assertion. With the new Directive enumeration, this should be
change with llvm::omp::Directive_enumSize. This patch fix two place where it was not done in
D81736.
Reviewers: vdmitrie, jdoerfert, jdenny
Reviewed By: jdoerfert
Subscribers: yaxunl, guansong, sstefan1, cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D82518
More information about the All-commits
mailing list