Fix method name to start with lower case to match style guide (NFC)

This commit is contained in:
Mehdi Amini 2020-08-14 09:38:37 +00:00
parent 62fc44ca3c
commit d0e2c79b61
2 changed files with 2 additions and 2 deletions

View File

@ -30,7 +30,7 @@ public:
/// the operands of the operation, but may be null if non-constant. If
/// folding is successful, this fills in the `results` vector. If not, this
/// returns failure and `results` is unspecified.
virtual LogicalResult Fold(Operation *op, ArrayRef<Attribute> operands,
virtual LogicalResult fold(Operation *op, ArrayRef<Attribute> operands,
SmallVectorImpl<OpFoldResult> &results) const {
return failure();
}

View File

@ -575,7 +575,7 @@ LogicalResult Operation::fold(ArrayRef<Attribute> operands,
if (!interface)
return failure();
return interface->Fold(this, operands, results);
return interface->fold(this, operands, results);
}
/// Emit an error with the op name prefixed, like "'dim' op " which is