Page MenuHomePhabricator

[NFC] fix getOperandNo in PredIterator.
Needs ReviewPublic

Authored by simoll on May 17 2018, 1:27 AM.
This revision needs review, but there are no reviewers specified.

Details

Reviewers
None

Diff Detail

Event Timeline

simoll created this revision.May 17 2018, 1:27 AM

This fixes the following build error (c++ (GCC) 8.1.0):

llvm/include/llvm/IR/CFG.h:83:15: error: ‘const class llvm::Value::user_iterator_impl<const llvm::User>’ has no member named ‘getOperandNo’
     return It.getOperandNo();
            ~~~^~~~~~~~~~~~

This looks right to me, but just to make sure I understand, has this been broken since r228400?