Commit Graph

7 Commits

Author SHA1 Message Date
Doug Gregor
8cd2f34654 Generalize tests for both diagnostic styles, or force the LLVM style
These tests are using FileCheck to check the result of diagnostic
formatting in ways that don't match the new formatter. Force the old
formatter or, where possible, generalize so that they match both
formatters.
2024-02-19 02:48:37 -10:00
zoecarver
408ce853d0 [diags][cxx-interop] for-loop -> for-in loop. 2023-05-04 10:26:45 -07:00
zoecarver
b2988f6e98 [diags][cxx-interop] Update diagnostic for 'begin' to suggest using a for-loop instead.
Does not fix the fix-it. The current fix it will be left as a stop-gap solution and we can hopefully update this fix it in the near future to actually plop in a for loop (too much work for this PR though).
2023-05-03 09:05:55 -07:00
Alex Lorenz
b60d635db7 [interop] make interop diagnostics more consistent with the rest of Swift diagnostics 2023-04-10 16:20:07 -07:00
zoecarver
38658a051f [cxx-interop] Fix test for linux; bail if we didn't load the overlay. 2023-02-21 10:52:57 -08:00
zoecarver
256335c1ea [nfc] Require MacOS for the vector test. 2023-02-20 17:47:48 -08:00
zoecarver
c0416b1450 [cxx-interop] Tests for the recent diganostics and fix-its. 2023-02-20 15:58:38 -08:00