[PATCH] D83363: [openmp] Use switch in isAllowedClauseForDirective instead of multiple if

Valentin Clement via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 8 11:13:50 PDT 2020


clementval updated this revision to Diff 276493.
clementval marked 2 inline comments as done.
clementval added a comment.

Remove correct default case and revert llvm_unreachable


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D83363/new/

https://reviews.llvm.org/D83363

Files:
  llvm/test/TableGen/directive1.td
  llvm/test/TableGen/directive2.td
  llvm/utils/TableGen/DirectiveEmitter.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D83363.276493.patch
Type: text/x-patch
Size: 7130 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200708/7bbf2870/attachment.bin>


More information about the llvm-commits mailing list