From: Mehdi Amini Date: Fri, 14 Aug 2020 09:38:37 +0000 (+0000) Subject: Fix method name to start with lower case to match style guide (NFC) X-Git-Tag: llvmorg-13-init~14450 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=d0e2c79b61a1e4f2cfb5a2a9842beb8aed74c522;p=platform%2Fupstream%2Fllvm.git Fix method name to start with lower case to match style guide (NFC) --- diff --git a/mlir/include/mlir/Interfaces/FoldInterfaces.h b/mlir/include/mlir/Interfaces/FoldInterfaces.h index 1399d9a..0c69674 100644 --- a/mlir/include/mlir/Interfaces/FoldInterfaces.h +++ b/mlir/include/mlir/Interfaces/FoldInterfaces.h @@ -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 operands, + virtual LogicalResult fold(Operation *op, ArrayRef operands, SmallVectorImpl &results) const { return failure(); } diff --git a/mlir/lib/IR/Operation.cpp b/mlir/lib/IR/Operation.cpp index 152ed01..4ddc3df 100644 --- a/mlir/lib/IR/Operation.cpp +++ b/mlir/lib/IR/Operation.cpp @@ -575,7 +575,7 @@ LogicalResult Operation::fold(ArrayRef 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