aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Analysis/CodeMetrics.cpp
diff options
context:
space:
mode:
authorChandler Carruth <chandlerc@gmail.com>2014-03-04 09:19:43 +0000
committerChandler Carruth <chandlerc@gmail.com>2014-03-04 09:19:43 +0000
commit387e059c047d65c57ae574328bdbd27a2b2cad31 (patch)
treefbde5643ba25498bec723c3c4a52d1a7b25e51c7 /llvm/lib/Analysis/CodeMetrics.cpp
parent230f29f91028f81eeb0e152ab9be5b20c7770537 (diff)
downloadllvm-387e059c047d65c57ae574328bdbd27a2b2cad31.zip
llvm-387e059c047d65c57ae574328bdbd27a2b2cad31.tar.gz
llvm-387e059c047d65c57ae574328bdbd27a2b2cad31.tar.bz2
[cleanup] Add a getOperandNo method to the Use class and implement it
out-of-line so that it can refer to the methods on User. As a consequence, this removes the need to define one template method if value_use_iterator in the extremely strange User.h header (!!!). This makse Use.h slightly less peculiar. The only remaining real peculiarity is the definition of Use::set in Value.h llvm-svn: 202805
Diffstat (limited to 'llvm/lib/Analysis/CodeMetrics.cpp')
0 files changed, 0 insertions, 0 deletions