This is an archive of the discontinued LLVM Phabricator instance.

[llvm-objcopy] Make helper functions static
ClosedPublic

Authored by plotfi on Jul 16 2018, 1:48 PM.

Details

Summary

There are several places in tools/llvm-objcopy where helper functions are exposed to the global scope. This is a small patch to clean this up (following https://llvm.org/docs/CodingStandards.html).

NFC.

Test plan: make check-all

Diff Detail

Repository
rL LLVM

Event Timeline

plotfi created this revision.Jul 16 2018, 1:48 PM

This is NFC BTW.

alexander-shaposhnikov retitled this revision from [llvm-objcopy] Make "non-public" internals "static" or move into anonymous namespace. to [llvm-objcopy] Make helper functions static.
alexander-shaposhnikov edited the summary of this revision. (Show Details)

LGTM

This revision is now accepted and ready to land.Jul 16 2018, 1:54 PM

Committed as r337220

plotfi closed this revision.Jul 16 2018, 4:00 PM