diff options
author | Martin Storsjö <martin@martin.st> | 2021-04-19 00:37:13 +0300 |
---|---|---|
committer | Martin Storsjö <martin@martin.st> | 2021-04-19 00:37:13 +0300 |
commit | d0b03ec401e8465b88893a4c56aeb0c787a54ad9 (patch) | |
tree | 82916eff94dbc3fdc94cc4ca35138804a56cc1bc /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | f08b171b18744a2e75f13e7d4860a51eebd4d5e8 (diff) | |
download | llvm-d0b03ec401e8465b88893a4c56aeb0c787a54ad9.zip llvm-d0b03ec401e8465b88893a4c56aeb0c787a54ad9.tar.gz llvm-d0b03ec401e8465b88893a4c56aeb0c787a54ad9.tar.bz2 |
[lit] Fix the return code for "not not" after evaluating "not" internally
This fixes cases where "not not <command>" is supposed to return
only the error codes 0 or 1, but after efee57925c3f46c74c6697,
it passed the original error code through.
This was visible on AIX in the shtest-output-printing.py testcase,
where 'wc' returns 2, while it returns 1 on other platforms, and the
test required "not not" to normalize it to 1.
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions