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)
Fri, May 15, 5:07 AM
Unknown Object (File)
Tue, May 12, 11:53 AM
Unknown Object (File)
Sun, May 10, 12:20 PM
Unknown Object (File)
Sun, May 10, 12:14 PM
Unknown Object (File)
Sat, May 9, 6:34 PM
Unknown Object (File)
Sat, May 9, 6:25 PM
Unknown Object (File)
Sun, May 3, 11:47 PM
Unknown Object (File)
Sun, May 3, 5:48 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 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.