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.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
LGTM, maybe a minor adjustment necessary.
clang/lib/Basic/OpenMPKinds.cpp | ||
---|---|---|
583 | <, right? |
clang/lib/Basic/OpenMPKinds.cpp | ||
---|---|---|
583 | You are right. |
<, right?