aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/ExecutionEngine/Interpreter/ExternalFunctions.cpp
diff options
context:
space:
mode:
authorChandler Carruth <chandlerc@gmail.com>2013-09-02 05:55:10 +0000
committerChandler Carruth <chandlerc@gmail.com>2013-09-02 05:55:10 +0000
commit14aae040291029d9c3d9e5db4e39bd85e1389825 (patch)
tree3b1e31ddc6ac0c1124f3a0e5c0941463fe88e1dd /llvm/lib/ExecutionEngine/Interpreter/ExternalFunctions.cpp
parent6e0520e9d924b23f48b6b92f13e992d751cffd9f (diff)
downloadllvm-14aae040291029d9c3d9e5db4e39bd85e1389825.zip
llvm-14aae040291029d9c3d9e5db4e39bd85e1389825.tar.gz
llvm-14aae040291029d9c3d9e5db4e39bd85e1389825.tar.bz2
Fix some rather confusing indentation and control flow in the errno
printing routine. This is made harder to see due to the surprising formatting, inconsistent brace usage, and repeated conditions that all test the same thing. The only "consequence" of this bug is re-assigning 'str' to an empty string when computing the error string for an error number of 0 in the event of a non-GNU strerror_r routine. So, nothing to see here other than cleanup. It did help me find PR17055 in clang-format though. llvm-svn: 189734
Diffstat (limited to 'llvm/lib/ExecutionEngine/Interpreter/ExternalFunctions.cpp')
0 files changed, 0 insertions, 0 deletions