diff options
author | Aiden Grossman <agrossman154@yahoo.com> | 2023-08-22 23:42:09 -0700 |
---|---|---|
committer | Aiden Grossman <agrossman154@yahoo.com> | 2023-08-22 23:44:05 -0700 |
commit | 34e3bc0b92d7fdc59477c93d187546a2566fbc22 (patch) | |
tree | b6bf921e60c54b09c1a309d5a663f73aabfbd702 /flang/lib/Frontend/CompilerInvocation.cpp | |
parent | 39a41c8905618fc942100630b4ea37f0cb95e786 (diff) | |
download | llvm-34e3bc0b92d7fdc59477c93d187546a2566fbc22.zip llvm-34e3bc0b92d7fdc59477c93d187546a2566fbc22.tar.gz llvm-34e3bc0b92d7fdc59477c93d187546a2566fbc22.tar.bz2 |
[llvm-exegesis] Replace size_t with ssize_t where relevant
Currently BenchmarkRunner.cpp stores the return code of recvmsg as
size_t. Not only is this incorrect (as recvmsg returns ssize_t), but it
also makes the error code check after the statement completely irrelvant
as it checks if the number of bytes read is greater than zero (which
will always be true for an unsigned type).
Diffstat (limited to 'flang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions