diff options
author | Ryan Prichard <rprichard@google.com> | 2023-10-26 19:13:20 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-26 19:13:20 -0700 |
commit | 56cadac85b02f52ba3e6a84f2cdd73e3b43070ac (patch) | |
tree | c7a4217848c0e7564318be341efa4fec309ed95e /clang/unittests/Format/FormatTestJava.cpp | |
parent | 1ab44d5a326ec570883bc63e5343c44c7614e20e (diff) | |
download | llvm-56cadac85b02f52ba3e6a84f2cdd73e3b43070ac.zip llvm-56cadac85b02f52ba3e6a84f2cdd73e3b43070ac.tar.gz llvm-56cadac85b02f52ba3e6a84f2cdd73e3b43070ac.tar.bz2 |
[Workflow] Expand code-format-helper.py error reporting (#69686)
* Consider the darker/clang-format command to have failed if the exit
code is non-zero, regardless of the stdout/stderr output.
* Propagate stderr from the formatter command to the script's
caller (and into the GitHub log).
* On success, dump stdout to the caller, so it ends up in GitHub's log.
I'm not sure what this would ever be, but if it exists, it should be
preserved.
* Just before the script exits, if any formatter failed, print a line
showing which formatters failed.
Diffstat (limited to 'clang/unittests/Format/FormatTestJava.cpp')
0 files changed, 0 insertions, 0 deletions