diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2018-01-16 19:28:28 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2018-01-16 19:28:28 +0000 |
commit | 62003fbb024862a67837f963c2ac157850848af7 (patch) | |
tree | 9518cf61b618f6e3b97a5cbe8e4585d6ec4c8428 /llvm/lib/Support/CommandLine.cpp | |
parent | 96753028661c0916577f4f596fb98b024692d418 (diff) | |
download | llvm-62003fbb024862a67837f963c2ac157850848af7.zip llvm-62003fbb024862a67837f963c2ac157850848af7.tar.gz llvm-62003fbb024862a67837f963c2ac157850848af7.tar.bz2 |
Inline foot gun into only valid use.
Symbol had both Visibility and getVisibility() and they had different
meanings. That is just too easy to get wrong.
getVisibility() would compute the visibility of a particular symbol
(foo in bar.o), and Visibility stores the computed value we will put
in the output.
There is only one case when we want what getVisibility() provides, so
inline it.
llvm-svn: 322590
Diffstat (limited to 'llvm/lib/Support/CommandLine.cpp')
0 files changed, 0 insertions, 0 deletions