Documentation ¶
Overview ¶
Package checkaligned ensures that atomic (u)int operations happen exclusively via the atomicbitops package.
We support a "// +checkalignedignore" escape hatch in the package comment that disables checking throughout the package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Analyzer = &analysis.Analyzer{
Name: "checkaligned",
Doc: "prohibits direct use of atomic int operations",
Run: run,
}
Analyzer defines the entrypoint.
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.