This is an archive of the discontinued LLVM Phabricator instance.

[OpenMP] Avoid warnings about unused static functions on windows
ClosedPublic

Authored by mstorsjo on Feb 12 2021, 1:53 AM.

Details

Summary

Add ifdefs around one function that only is used in unix build configurations.

Add a void cast for a windows specific function that currently is unused but may be intended to be used at some point.

Diff Detail

Event Timeline

mstorsjo created this revision.Feb 12 2021, 1:53 AM
mstorsjo requested review of this revision.Feb 12 2021, 1:53 AM
Herald added a project: Restricted Project. · View Herald Transcript
Herald added a subscriber: sstefan1. · View Herald Transcript
This revision is now accepted and ready to land.Feb 12 2021, 9:06 AM