[llvm-branch-commits] [llvm] [mlir] [Support][mlir][llvm-mc] Match each verify directive once by default (PR #233308)

Mehdi Amini via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Wed Oct 28 12:06:55 PDT 2026


================
@@ -119,7 +120,7 @@ SourceMgrDiagnosticVerifier::computeExpectedDiags(raw_ostream &os,
   SmallVector<StringRef, 100> lines;
   buf->getBuffer().split(lines, '\n');
   for (unsigned lineNo = 0, e = lines.size(); lineNo < e; ++lineNo) {
-    SmallVector<StringRef, 8> matches;
+    SmallVector<StringRef, 10> matches;
----------------
joker-eph wrote:

Why the change? Do we need to even specify a count here? 

https://github.com/llvm/llvm-project/pull/233308


More information about the llvm-branch-commits mailing list