Files
Michael Gottesman 8943dff0ee [gardening] Modernize BitDataflow debug printing to use print+dump pattern
NFC. Just peeling off small things from a alrger commit.

Replace the standalone dump() method with a print(llvm::raw_ostream &os)
method that writes to an arbitrary output stream, and implement dump() via
the SWIFT_DEBUG_DUMP macro delegating to print(llvm::dbgs()). Also fix a
minor indentation issue in the original dump() body and switch the loop
variable to a const reference.

This follows the standard Swift/SIL convention for debug-printable types,
making BitDataflow consistent with the rest of the codebase and allowing
its state to be printed to streams other than stderr.
2026-02-21 15:33:44 -08:00
..