HomePhabricator

Fix OMP_TARGET_OFFLOAD parsing

Description

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

Details

Committed
hbaeMay 30 2019, 11:35 AM
Differential Revision
D62431: Fix OMP_TARGET_OFFLOAD parsing
Branches
Unknown
Tags
Unknown