HomePhabricator

[OMPT] Resolve warnings because of ints in if conditions

Description

[OMPT] Resolve warnings because of ints in if conditions

The implementation status can only be one of
ompt_event_UNIMPLEMENTED = ompt_set_never = 1
ompt_event_MAY_ALWAYS = ompt_set_always = 5

In both cases, the condition was already true, so just remove
the check.

Differential Revision: https://reviews.llvm.org/D65869

Details

Committed
HahnfeldAug 15 2019, 6:26 AM
Differential Revision
D65869: [OMPT] Resolve warnings because of ints in if conditions
Branches
Unknown
Tags
Unknown