aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Support/DAGDeltaAlgorithm.cpp
diff options
context:
space:
mode:
authorSterling-Augustine <saugustine@google.com>2025-11-10 14:58:26 -0800
committerGitHub <noreply@github.com>2025-11-10 14:58:26 -0800
commitc5ce8021da09cfe232abe2e869269297b00fbcdb (patch)
tree89e73ec65c49383d1a4081877ce4a4168311d467 /llvm/lib/Support/DAGDeltaAlgorithm.cpp
parent5b8e86909c94ad81b4c2f0cee50c3433ec318788 (diff)
downloadllvm-c5ce8021da09cfe232abe2e869269297b00fbcdb.zip
llvm-c5ce8021da09cfe232abe2e869269297b00fbcdb.tar.gz
llvm-c5ce8021da09cfe232abe2e869269297b00fbcdb.tar.bz2
[libc] fwrite_unlocked: only return errno if an actual error occurred. (#167350)
fwrite and friends don't modify errno if no error occurred. Therefore frite_unlocked's return value shouldn't be constructed from errno without checking if an error actually occurred. This fixes an error introduced by https://github.com/llvm/llvm-project/commit/9e2f73fe9052a4fbf382a06e30b2441c6d99fb7e
Diffstat (limited to 'llvm/lib/Support/DAGDeltaAlgorithm.cpp')
0 files changed, 0 insertions, 0 deletions