[llvm] [FileCheck] Add a diff output option for FileCheck (PR #187120)

Henrik G. Olsson via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 8 10:22:03 PDT 2026


================
@@ -2961,20 +2960,17 @@ bool FileCheck::checkInput(SourceMgr &SM, StringRef Buffer,
       // treated as a stray line. Even if a match is found later, we report
       // the gap as a mismatch.
----------------
hnrklssn wrote:

This comment still feels misleading. "any text found between the current position and the match is treated as a stray" is true any time `IsStrict` is true, right, not just when diff mode is enabled?

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


More information about the llvm-commits mailing list