aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Support/CommandLine.cpp
diff options
context:
space:
mode:
authorChandler Carruth <chandlerc@gmail.com>2017-12-27 05:46:53 +0000
committerChandler Carruth <chandlerc@gmail.com>2017-12-27 05:46:53 +0000
commite243ff81418dac9846701a0d07137a8334bb3845 (patch)
tree2c561d0d036613a8abcd873fbd91ffdffc92a938 /llvm/lib/Support/CommandLine.cpp
parentcd13a663813f74a2d464387ad75072ec5b696644 (diff)
downloadllvm-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