[Mlir-commits] [mlir] [mlir][ods] resolve the wrong indent issue (PR #189277)
Mehdi Amini
llvmlistbot at llvm.org
Tue Mar 31 08:51:41 PDT 2026
================
@@ -18,8 +18,8 @@ void mlir::tblgen::emitSummaryAndDescComments(llvm::raw_ostream &os,
llvm::StringRef summary,
llvm::StringRef description,
bool terminateComment) {
- StringRef trimmedSummary = summary.trim();
- StringRef trimmedDesc = description.trim();
+ StringRef trimmedSummary = summary.rtrim();
+ StringRef trimmedDesc = description.rtrim();
----------------
joker-eph wrote:
I'm confused: this is trimming less than before, why is this fixing the issue?
https://github.com/llvm/llvm-project/pull/189277
More information about the Mlir-commits
mailing list