Page MenuHomeFreeBSD

asmc: code style modernization and minor cleanups
ClosedPublic

Authored by ngie on Feb 20 2026, 3:55 AM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Aug 19, 8:43 AM
Unknown Object (File)
Mon, Aug 17, 4:52 PM
Unknown Object (File)
Mon, Aug 17, 3:49 AM
Unknown Object (File)
Mon, Aug 17, 3:45 AM
Unknown Object (File)
Thu, Aug 13, 1:32 AM
Unknown Object (File)
Wed, Aug 12, 11:26 PM
Unknown Object (File)
Wed, Aug 12, 6:33 PM
Unknown Object (File)
Wed, Aug 12, 12:54 AM
Subscribers

Details

Summary
  • Allow ASMC_DEBUG to be treated as a variadic macro.
  • Add ellipses around sizeof(..) calls.
  • Reindent some of the lines to better follow style(9) with line wrapping.

A number of other clang-format changes were not taken as they are not
compatible with style(9). A change to the config to improve
compatibility with style(9) is pending.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 70843
Build 67726: arc lint + arc unit

Event Timeline

ngie requested review of this revision.Feb 20 2026, 3:55 AM
This revision is now accepted and ready to land.Feb 20 2026, 5:55 PM

Fix compilation errors.

vimdiff... you're such a PITA sometimes...

This revision now requires review to proceed.Feb 21 2026, 12:12 AM
This revision was not accepted when it landed; it landed in state Needs Review.Feb 21 2026, 5:32 AM
This revision was automatically updated to reflect the committed changes.