aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Support/CommandLine.cpp
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2018-01-16 19:28:28 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2018-01-16 19:28:28 +0000
commit62003fbb024862a67837f963c2ac157850848af7 (patch)
tree9518cf61b618f6e3b97a5cbe8e4585d6ec4c8428 /llvm/lib/Support/CommandLine.cpp
parent96753028661c0916577f4f596fb98b024692d418 (diff)
downloadllvm-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