diff options
author | Joseph Huber <huberjn@outlook.com> | 2024-03-19 14:44:59 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-19 14:44:59 -0500 |
commit | 3dc1b5044e25fc7e574719355091fccddad29ce4 (patch) | |
tree | c429ec3be827b778b46d2daaa006b4a36a42cbef /llvm/lib/CodeGen/AssignmentTrackingAnalysis.cpp | |
parent | 4b61d5bd6155f43792dd37a8975df68365b1e24a (diff) | |
download | llvm-3dc1b5044e25fc7e574719355091fccddad29ce4.zip llvm-3dc1b5044e25fc7e574719355091fccddad29ce4.tar.gz llvm-3dc1b5044e25fc7e574719355091fccddad29ce4.tar.bz2 |
[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.
Diffstat (limited to 'llvm/lib/CodeGen/AssignmentTrackingAnalysis.cpp')
0 files changed, 0 insertions, 0 deletions