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
Paths
| Differential D49400
[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
Event Timelinealexander-shaposhnikov retitled this revision from [llvm-objcopy] Make "non-public" internals "static" or move into anonymous namespace. to [llvm-objcopy] Make helper functions static. Comment ActionsLGTM This revision is now accepted and ready to land.Jul 16 2018, 1:54 PM
Revision Contents
Diff 155755 tools/llvm-objcopy/Object.cpp
tools/llvm-objcopy/llvm-objcopy.cpp
|