As commented on D65712, the getIRPosition methods weren't correctly being overridden.
Differential Revision: https://reviews.llvm.org/D67170
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@370914
91177308-0d34-0410-b5e6-
96231b3b80d8
/// Return an IR position, see struct IRPosition.
///
///{
- IRPosition &getIRPosition() { return *this; }
- const IRPosition &getIRPosition() const { return *this; }
+ IRPosition &getIRPosition() override { return *this; }
+ const IRPosition &getIRPosition() const override { return *this; }
///}
/// Create an abstract attribute view for the position \p IRP.