compile_commands_json_executer

package
v0.0.0-...-9d2af49 Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2020 License: BSD-3-Clause Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CompilerCall

type CompilerCall struct {
	Exe     []string // could be several words in case of ccache
	Args    []string
	Dir     string
	InFile  string
	OutFile string
}

func ProcessJsonByBytes

func ProcessJsonByBytes(inFileContent []byte, turnAbsolute bool, dbdir string) ([]CompilerCall, error)

type DecoratedRun

type DecoratedRun struct {
	// contains filtered or unexported fields
}

func (DecoratedRun) Cat

func (d DecoratedRun) Cat() string

func (*DecoratedRun) Name

func (d *DecoratedRun) Name() string

func (*DecoratedRun) Run

func (d *DecoratedRun) Run() error

func (*DecoratedRun) SetStderr

func (d *DecoratedRun) SetStderr(w io.Writer)

func (*DecoratedRun) SetStdout

func (d *DecoratedRun) SetStdout(w io.Writer)

type Executer

type Executer struct {
	Appends     []string
	Prepends    []string
	RemoveArgs  []string
	Exe         string
	AcceptTU    []string
	RejectTU    []string
	Env         map[string]string
	Replace     map[string]string
	Concurrency int
	TraceFile   string
}

func (*Executer) Run

func (e *Executer) Run(infile string) error

Jump to

Keyboard shortcuts

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