[cross-project-tests][lldb] Relax llvm::Expected check

The `CHECK` for `(int)` was too strict. On macOS the type prints as:
```
08:46:24            29: (lldb) v -T ExpectedRef
08:46:24            30: (llvm::Expected<int &>) ExpectedRef = {
08:46:24  next:14'0                                            X error: no match found
08:46:24            31:  (std::__1::reference_wrapper<int>::type) value = 100
08:46:24  next:14'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
08:46:24  next:14'1                                         ?                  possible intended match
08:46:24            32: }
08:46:24  next:14'0     ~~
```
This commit is contained in:
Michael Buch 2026-02-10 09:15:11 +00:00
parent 0a3b376015
commit 92bcff7dc2

View File

@ -31,7 +31,7 @@ v -T ExpectedVecRef
# Reference types are unwrapped from std::reference_wrapper<T> to T.
# CHECK: (lldb) v -T ExpectedRef
# CHECK-NEXT: (llvm::Expected<int &>) ExpectedRef = {
# CHECK-NEXT: (int) value = 100
# CHECK-NEXT: ({{.*}}) value = 100
# CHECK-NEXT: }
# CHECK: (lldb) v -T ExpectedVec