clangtool

package
v0.7.5 Latest Latest
Warning

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

Go to latest
Published: Aug 6, 2025 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ComposeIncludes

func ComposeIncludes(files []string, outfile string) error

ComposeIncludes create Include list #include <file1.h> #include <file2.h>

func GetIncludePaths

func GetIncludePaths(isCpp bool) []string

func GetInclusions added in v0.7.2

func GetInclusions(conf *Config, fn func(fileName string, depth int)) error

func ParseClangIncOutput

func ParseClangIncOutput(output string) []string

func ParseSystemPath

func ParseSystemPath(output string) ([]string, error)

func WithSysRoot

func WithSysRoot(args []string) []string

Types

type Config added in v0.7.2

type Config struct {
	HeaderFileName     string
	ComposedHeaderFile string
	CompileArgs        []string
	IsCpp              bool
}

Jump to

Keyboard shortcuts

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