clangtool

package
v0.0.0-...-c6b4fb3 Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2025 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run(cfg *Config) (*declextract.Output, error)

Run runs the clang tool on all files in the compilation database in the kernel build dir and returns combined output for all files. It always caches results, and optionally reuses previously cached results.

Types

type Config

type Config struct {
	ToolBin    string
	KernelSrc  string
	KernelObj  string
	CacheFile  string
	DebugTrace io.Writer
}

Jump to

Keyboard shortcuts

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