[all-commits] [llvm/llvm-project] 827ab0: Add `const` to `dump` method of `OpFoldResult`.
MaheshRavishankar via All-commits
all-commits at lists.llvm.org
Wed Oct 5 10:32:28 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 827ab049dc4f8a4800b32ab5aef040139d22b065
https://github.com/llvm/llvm-project/commit/827ab049dc4f8a4800b32ab5aef040139d22b065
Author: Mahesh Ravishankar <ravishankarm at google.com>
Date: 2022-10-05 (Wed, 05 Oct 2022)
Changed paths:
M mlir/include/mlir/IR/OpDefinition.h
Log Message:
-----------
Add `const` to `dump` method of `OpFoldResult`.
While most `dump` methods are marked `const`, some arent marked as
`const`. Adding `const` to `OpFoldResult` here since this was
encountered as an issue while debugging (doing `dump` within a debug
console threw an error indicating the method should be marked
`const`).
Reviewed By: ftynse
Differential Revision: https://reviews.llvm.org/D135241
More information about the All-commits
mailing list