summaryrefslogtreecommitdiffstats
path: root/llvm/unittests/Support/ProgramTest.cpp
diff options
context:
space:
mode:
authorJoachim Protze <protze@itc.rwth-aachen.de>2017-12-22 16:40:26 +0000
committerJoachim Protze <protze@itc.rwth-aachen.de>2017-12-22 16:40:26 +0000
commit25aa3ec1c500c6bb20252bec4878f929649b1957 (patch)
tree8445444af8f467e3d693de0ba2db7d37706329df /llvm/unittests/Support/ProgramTest.cpp
parentccdac23ab26d65353131ca6134327b2581537d52 (diff)
downloadbcm5719-llvm-25aa3ec1c500c6bb20252bec4878f929649b1957.tar.gz
bcm5719-llvm-25aa3ec1c500c6bb20252bec4878f929649b1957.zip
Remove unused positional argument for printf
The format string for hints only prints the second argument (string) and drops the first argument (hint id). Depending on how you read the POSIX text for printf, this could be valid. But for practical reason, i.e., unpacking the va_list passed to printf based on the formating information, it makes sense to fix the implementation and not pass the id for hint. Failing testcases were: misc_bugs/teams-reduction.c ompt/parallel/not_enough_threads.c Differential Revision: https://reviews.llvm.org/D41504 llvm-svn: 321361
Diffstat (limited to 'llvm/unittests/Support/ProgramTest.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud