diff options
author | Hansang Bae <hansang.bae@intel.com> | 2019-05-30 18:35:07 +0000 |
---|---|---|
committer | Hansang Bae <hansang.bae@intel.com> | 2019-05-30 18:35:07 +0000 |
commit | 74db2a4213dd1f4d7b0056ebecbce6cfca3d3e30 (patch) | |
tree | 00ae7822eef2c07552d4614911e5920400f19919 /libomptarget/src/device.cpp | |
parent | 48eeef98d8147c59f9db18c8d7e646741c28f738 (diff) |
Fix OMP_TARGET_OFFLOAD parsing
Current parsing allows trailing string after the permitted value,
MANDATORY|DISABLED|DEFAULT -- e.g., "mandatorynot" is also recognized
as "MANDATORY". Such cases should be recognized as incorrect/unknown
value.
Differential Revision: https://reviews.llvm.org/D62431
git-svn-id: https://llvm.org/svn/llvm-project/openmp/trunk@362125 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'libomptarget/src/device.cpp')
0 files changed, 0 insertions, 0 deletions