diff options
author | Cristian Adam <[email protected]> | 2025-04-09 10:25:45 +0200 |
---|---|---|
committer | Cristian Adam <[email protected]> | 2025-04-09 09:09:22 +0000 |
commit | 7e55e26d16b5cb13a0a5f4edda905f1fc10006e7 (patch) | |
tree | 1f78443c8b5315a23fcdae1699ae1ace74408a5c /src/plugins/cppcheck | |
parent | 47a999d957deffa5f124da20eda63cc72ebb457d (diff) |
ClangTools: Display all output when the tool fails
In the error case we were displaying `stdout`, which in case of clazy
was empty:
```
Process Error: 5
Output:
```
With this patch it will give a reason why it failed:
```
Process Error: 5
Output:
/Users/cristian/Projects/C++/Test/mainwindow.cpp:2:10: fatal error:
'ui_mainwindow.h' file not found
2 | #include "ui_mainwindow.h"
| ^~~~~~~~~~~~~~~~~
1 error generated.
```
Change-Id: I75380b023c31d0dca4afff915155a062edcf4050
Reviewed-by: Christian Kandeler <[email protected]>
Diffstat (limited to 'src/plugins/cppcheck')
0 files changed, 0 insertions, 0 deletions