Unverified Commit 3dc1b504 authored by Joseph Huber's avatar Joseph Huber Committed by GitHub
Browse files

[libc] Make 'printf' converter output "(null)" instead of "null" (#85845)

Summary:
Currently we print `null` for the null pointer in a `%s` expression.
Although it's not defined by the standard, other implementations choose
to use `(null)` to indicate this. We also currently print `(nullptr)` so
I think it's more consistent to use parens in both cases.
parent 4b61d5bd
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment