compdb

package
v0.0.61 Latest Latest
Warning

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

Go to latest
Published: Jan 20, 2023 License: Apache-2.0, NCSA Imports: 14 Imported by: 2

Documentation

Overview

Package compdb contains functionality necessary for extracting from a compile_commands.json file.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ExtractCompilations

func ExtractCompilations(ctx context.Context, extractor, path string, opts *ExtractOptions) error

ExtractCompilations runs the specified extractor over each compilation record found in the compile_commands.json file at path.

Types

type ExtractOptions added in v0.0.49

type ExtractOptions struct {
	ExtraArguments []string // additional arguments to pass to the extractor
}

ExtractOptions holds additional options related to compilation DB extraction.

Jump to

Keyboard shortcuts

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