aboutsummaryrefslogtreecommitdiff
path: root/libomptarget/src/device.cpp
diff options
context:
space:
mode:
authorHansang Bae <hansang.bae@intel.com>2019-05-30 18:35:07 +0000
committerHansang Bae <hansang.bae@intel.com>2019-05-30 18:35:07 +0000
commit74db2a4213dd1f4d7b0056ebecbce6cfca3d3e30 (patch)
tree00ae7822eef2c07552d4614911e5920400f19919 /libomptarget/src/device.cpp
parent48eeef98d8147c59f9db18c8d7e646741c28f738 (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