Bug 456705 - clazy-standalone -p drops first argument
Summary: clazy-standalone -p drops first argument
Status: ASSIGNED
Alias: None
Product: clazy
Classification: Developer tools
Component: general (show other bugs)
Version: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Ivan Čukić
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-07-14 08:54 UTC by Hannah von Reth
Modified: 2022-09-24 08:38 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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