mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2024-11-23 13:50:11 +00:00
[mlir] Fix -Wunused-function in TransformInterpreterPassBase.cpp (NFC)
/llvm-project/mlir/lib/Dialect/Transform/Transforms/TransformInterpreterPassBase.cpp:167:1: error: unused function 'saveReproToTempFile' [-Werror,-Wunused-function] saveReproToTempFile(llvm::raw_ostream &os, Operation *target, ^ 1 error generated.
This commit is contained in:
parent
79c33d23c3
commit
48ee6bf563
@ -163,7 +163,7 @@ static llvm::raw_ostream &printModuleForRepro(llvm::raw_ostream &os,
|
||||
|
||||
/// Saves the payload and the transform IR into a temporary file and reports
|
||||
/// the file name to `os`.
|
||||
static void
|
||||
[[maybe_unused]] static void
|
||||
saveReproToTempFile(llvm::raw_ostream &os, Operation *target,
|
||||
Operation *transform, StringRef passName,
|
||||
const Pass::Option<std::string> &debugPayloadRootTag,
|
||||
|
Loading…
Reference in New Issue
Block a user