This is an archive of the discontinued LLVM Phabricator instance.

Fixing warnings for unused variables and copy ellision
ClosedPublic

Authored by ravitheja on Jul 3 2017, 7:28 AM.

Details

Summary

The std::move was preventing copy ellision when compiled with
clang, the patch fixes the warning along with rearranging code
to remove unused variables warnings on Linux machines with
older perf_event interface.

Event Timeline

ravitheja created this revision.Jul 3 2017, 7:28 AM
labath accepted this revision.Jul 3 2017, 7:39 AM

cool

This revision is now accepted and ready to land.Jul 3 2017, 7:39 AM
ravitheja closed this revision.Jul 3 2017, 8:07 AM