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)
Mon, May 18, 5:34 PM
Unknown Object (File)
Mon, May 18, 9:54 AM
Unknown Object (File)
Mon, May 18, 7:24 AM
Unknown Object (File)
Mon, May 18, 7:20 AM
Unknown Object (File)
Mon, May 18, 3:14 AM
Unknown Object (File)
Mon, May 18, 3:07 AM
Unknown Object (File)
Mon, May 18, 12:35 AM
Unknown Object (File)
Sun, May 17, 7:46 PM
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 70812
Build 67695: 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.