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.
Click to show internal directories.
Click to hide internal directories.