Page MenuHomePhabricator

Remove "unused" member ModuleSlice from `struct OpenMPOpt`
ClosedPublic

Authored by mehdi_amini on Wed, Jun 17, 10:25 AM.

Details

Summary

This is fixing warning from clang:

warning: private field 'ModuleSlice' is not used [-Wunused-private-field]

SmallPtrSetImpl<Function *> &ModuleSlice;
                             ^

Diff Detail

Event Timeline

mehdi_amini created this revision.Wed, Jun 17, 10:25 AM
sstefan1 accepted this revision.Wed, Jun 17, 10:39 AM

This was my bad. Thanks for noticing!

llvm/lib/Transforms/IPO/OpenMPOpt.cpp
271

This can now be OMPInfoCache.ModuleSlice.size()

This revision is now accepted and ready to land.Wed, Jun 17, 10:39 AM
This revision was automatically updated to reflect the committed changes.