This is an archive of the discontinued LLVM Phabricator instance.

[OpenMP] Fix build of stubs library
ClosedPublic

Authored by Hahnfeld on Jul 25 2019, 8:54 AM.

Details

Summary

Both Clang and GCC complained that they cannot initialize a return
object of type 'kmp_proc_bind_t' with an 'int'. While at it, also
fix a warning about missing parentheses thrown by Clang.

Diff Detail

Repository
rL LLVM

Event Timeline

Hahnfeld created this revision.Jul 25 2019, 8:54 AM
Herald added a project: Restricted Project. · View Herald Transcript
AndreyChurbanov accepted this revision.Jul 25 2019, 9:06 AM

LGTM (I'd treat this as NFC :).

This revision is now accepted and ready to land.Jul 25 2019, 9:06 AM

LGTM (I'd treat this as NFC :).

Yes, I agree. I'll change the title when committing.

This revision was automatically updated to reflect the committed changes.
Herald added a project: Restricted Project. · View Herald TranscriptJul 25 2019, 10:52 AM