diff options
author | Nikita Popov <npopov@redhat.com> | 2024-06-11 15:26:53 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-06-11 15:26:53 +0200 |
commit | 2b15fb16cee05e6fe56edc6bc24d4d31df48a115 (patch) | |
tree | 2446968525fa3529eb6b8c5c430c296047273b31 /llvm/lib/CodeGen/MachineBasicBlock.cpp | |
parent | 400d4fd7b6dea9c7cdd255bb804fcd0ee77f6d42 (diff) | |
download | llvm-2b15fb16cee05e6fe56edc6bc24d4d31df48a115.zip llvm-2b15fb16cee05e6fe56edc6bc24d4d31df48a115.tar.gz llvm-2b15fb16cee05e6fe56edc6bc24d4d31df48a115.tar.bz2 |
[gold] Don't pass StringRef to message() (#95083)
This is a printf style variadic function. If using a "%s" format, we
should pass "const char *" rather than "StringRef".
The use of data() here is safe because we know that the StringRef was
originally derived from a null-terminated string.
Diffstat (limited to 'llvm/lib/CodeGen/MachineBasicBlock.cpp')
0 files changed, 0 insertions, 0 deletions