This is an archive of the discontinued LLVM Phabricator instance.

[LLD] Fix Clang-tidy modernize-use-emplace and Include What You Use warnings; other minor fixes
AbandonedPublic

Authored by Eugene.Zelenko on Jun 28 2016, 5:47 PM.

Details

Reviewers
ruiu
Summary

I checked this patch on my own build on RHEL 6. Regressions were OK.

Diff Detail

Repository
rL LLVM

Event Timeline

Eugene.Zelenko retitled this revision from to [LLD] Fix Clang-tidy modernize-use-emplace and Include What You Use warnings; other minor fixes.
Eugene.Zelenko updated this object.
Eugene.Zelenko added a reviewer: ruiu.
Eugene.Zelenko set the repository for this revision to rL LLVM.
Eugene.Zelenko added a subscriber: llvm-commits.

I don't think we follow include-what-you-use in llvm/lld.

The emplace_back part is probably fine.

There are also other changes in the patch, like whitespace and adding
closing comments to namespaces. I am also not sold on their value.

Eugene.Zelenko abandoned this revision.Jul 11 2016, 1:41 PM