Bug 456705

Summary: clazy-standalone -p drops first argument
Product: [Developer tools] clazy Reporter: Hannah von Reth <vonreth>
Component: generalAssignee: Ivan Čukić <ivan.cukic>
Status: ASSIGNED ---    
Severity: normal CC: ivan.cukic, smartins
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Hannah von Reth 2022-07-14 08:54:56 UTC
SUMMARY
***
NOTE: If you are reporting a crash, please try to attach a backtrace with debug symbols.
See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***
Clazy standalone seems to drop the first argument passed to -p.
If executed with only one argument the clazy-standalone returns with an exit code of 0 but without any output.
Only by a typo I discovered that it behaves as expected if I pass multiple arguments to -p, the first one is ignored.

As a workaround I now pass a " ".

Windows builds are not affected.


SOFTWARE/OS VERSIONS
KDE Craft linux and mac
/bin/clang --version
clang version 13.0.0
Target: x86_64-unknown-linux-gnu
Thread model: posix
InstalledDir: /home/hannah/CraftRoot/./bin

ADDITIONAL INFORMATION
Comment 1 Hannah von Reth 2022-07-14 11:15:31 UTC
Appears to be fixed with an update to clang 13.01