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.
Paths
| Differential D65869
[OMPT] Resolve warnings because of ints in if conditions ClosedPublic Authored by Hahnfeld on Aug 7 2019, 6:38 AM.
Details Summary 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
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Aug 7 2019, 1:37 PM Closed by commit rL369001: [OMPT] Resolve warnings because of ints in if conditions (authored by Hahnfeld). · Explain WhyAug 15 2019, 6:25 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 215383 openmp/trunk/runtime/cmake/LibompHandleFlags.cmake
openmp/trunk/runtime/cmake/config-ix.cmake
openmp/trunk/runtime/src/ompt-general.cpp
|