diff options
author | Chandler Carruth <chandlerc@gmail.com> | 2017-12-27 05:46:53 +0000 |
---|---|---|
committer | Chandler Carruth <chandlerc@gmail.com> | 2017-12-27 05:46:53 +0000 |
commit | e243ff81418dac9846701a0d07137a8334bb3845 (patch) | |
tree | 2c561d0d036613a8abcd873fbd91ffdffc92a938 /llvm/lib/Support/CommandLine.cpp | |
parent | cd13a663813f74a2d464387ad75072ec5b696644 (diff) | |
download | llvm-e243ff81418dac9846701a0d07137a8334bb3845.zip llvm-e243ff81418dac9846701a0d07137a8334bb3845.tar.gz llvm-e243ff81418dac9846701a0d07137a8334bb3845.tar.bz2 |
There is no portable format string for printing `uintptr_t` values.
Instead, cast them to `void *` which has a portable format string syntax
of `%p`.
This fixes a -Wformat error when building libunwind.
llvm-svn: 321469
Diffstat (limited to 'llvm/lib/Support/CommandLine.cpp')
0 files changed, 0 insertions, 0 deletions