pragma-once

pragma-once is a linter for C, C++.

You can enable the pragma-once linter with:

trunk check enable pragma-once
pragma-once example output

Auto Enabling

pragma-once will never be auto-enabled. It must be enabled manually.

Last updated