swift
f343289c - [DiagnosticVerifier] Fix Twine use after free

Commit
27 days ago
[DiagnosticVerifier] Fix Twine use after free `llvm::Twine` is not valid after the end of the statement. Pass it directly as a parameter without storing it in a local variable to prevent UAF. Also updates DiagnosticVerifier tests to capture all relevant output.
Author
Committer
Parents
Loading