Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 92d0fd7

Browse files
authored
[MLIR][NFC] Use toVector instead toStringRef (#179998)
1 parent 13c9276 commit 92d0fd7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

mlir/include/mlir/IR/Remarks.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ class Remark {
9595
remarkName(opts.remarkName.str()) {
9696
if (!categoryName.empty() && !subCategoryName.empty()) {
9797
(llvm::Twine(categoryName) + ":" + subCategoryName)
98-
.toStringRef(fullCategoryName);
98+
.toVector(fullCategoryName);
9999
}
100100
}
101101

0 commit comments

Comments
 (0)