checkaligned

package
v0.0.0-...-385f433 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 25, 2024 License: Apache-2.0, MIT Imports: 4 Imported by: 1

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL