HomePhabricator

Fixing warnings for unused variables and copy ellision

Description

Fixing warnings for unused variables and copy ellision

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.

Reviewers: labath, ted

Reviewed By: labath

Differential Revision: https://reviews.llvm.org/D34946

Details

Committed
ravithejaJul 3 2017, 8:07 AM
Reviewer
labath
Differential Revision
D34946: Fixing warnings for unused variables and copy ellision
Parents
rL307029: [clang-format] Support text proto messages
Branches
Unknown
Tags
Unknown