commit | 13f0d301e80d5bb43924d049ac7a3f853df20394 | [log] [tgz] |
---|---|---|
author | Chandler Carruth <chandlerc@gmail.com> | Tue Mar 04 09:19:43 2014 +0000 |
committer | Chandler Carruth <chandlerc@gmail.com> | Tue Mar 04 09:19:43 2014 +0000 |
tree | 0acfb9476461e687451dd2f6c447ffcd459d39d7 | |
parent | 775581c4181c7f5ef36258788ae19d6346d3f0ec [diff] |
[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 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@202805 91177308-0d34-0410-b5e6-96231b3b80d8