This is an archive of the discontinued LLVM Phabricator instance.

[NFC] fix getOperandNo in PredIterator.
AbandonedPublic

Authored by simoll on May 17 2018, 1:27 AM.

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?

simoll abandoned this revision.Sep 30 2020, 7:59 AM
Herald added a project: Restricted Project. · View Herald TranscriptSep 30 2020, 7:59 AM