This is an archive of the discontinued LLVM Phabricator instance.

[LLD] Fix Clang-tidy readability-static-definition-in-anonymous-namespace warnings; other minor fixes.
AbandonedPublic

Authored by Eugene.Zelenko on Apr 5 2016, 6:21 PM.

Details

Reviewers
ruiu
Summary

Some Include What You Use suggestions were used too.

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 readability-static-definition-in-anonymous-namespace 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.
ruiu edited edge metadata.Apr 5 2016, 7:34 PM

I think as a policy we should use static for functions instead of anonymous namespaces in LLVM. Can you narrow the scopes of anonymous namespaces instead of removing static?

Eugene.Zelenko abandoned this revision.Apr 7 2016, 4:58 PM