forked from OSchip/llvm-project
[Attributor] Make unimplemented method pure virtual.
Otherwise the compiler mistakes it for a vtable anchor. llvm-svn: 371298
This commit is contained in:
parent
0ff6d7f305
commit
84c7904d62
|
@ -1713,9 +1713,9 @@ struct AAValueSimplify : public StateWrapper<BooleanState, AbstractAttribute>,
|
|||
///}
|
||||
|
||||
/// Return an assumed simplified value if a single candidate is found. If
|
||||
/// there cannot be one, return original value. If it is not clear yet, return the
|
||||
/// Optional::NoneType.
|
||||
virtual Optional<Value *> getAssumedSimplifiedValue(Attributor &A) const;
|
||||
/// there cannot be one, return original value. If it is not clear yet, return
|
||||
/// the Optional::NoneType.
|
||||
virtual Optional<Value *> getAssumedSimplifiedValue(Attributor &A) const = 0;
|
||||
|
||||
/// Create an abstract attribute view for the position \p IRP.
|
||||
static AAValueSimplify &createForPosition(const IRPosition &IRP,
|
||||
|
|
Loading…
Reference in New Issue