[Mlir-commits] [mlir] [MLIR][NFC] Use toVector instead toStringRef (PR #179998)
llvmlistbot at llvm.org
llvmlistbot at llvm.org
Thu Feb 5 10:18:10 PST 2026
llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-mlir
Author: Guray Ozen (grypp)
<details>
<summary>Changes</summary>
---
Full diff: https://github.com/llvm/llvm-project/pull/179998.diff
1 Files Affected:
- (modified) mlir/include/mlir/IR/Remarks.h (+1-1)
``````````diff
diff --git a/mlir/include/mlir/IR/Remarks.h b/mlir/include/mlir/IR/Remarks.h
index 0a787f20c5704..eb0518e203d36 100644
--- a/mlir/include/mlir/IR/Remarks.h
+++ b/mlir/include/mlir/IR/Remarks.h
@@ -95,7 +95,7 @@ class Remark {
remarkName(opts.remarkName.str()) {
if (!categoryName.empty() && !subCategoryName.empty()) {
(llvm::Twine(categoryName) + ":" + subCategoryName)
- .toStringRef(fullCategoryName);
+ .toVector(fullCategoryName);
}
}
``````````
</details>
https://github.com/llvm/llvm-project/pull/179998
More information about the Mlir-commits
mailing list