Documentation ¶
Index ¶
- func Analyze(inputFiles, clangFlags []string) (pp []byte, comments []program.Comment, includes []program.IncludeHeader, ...)
- func GetIncludeFullList(inputFiles, clangFlags []string) (lines []string, err error)
- func GetIncludeListWithUserSource(inputFiles, clangFlags []string) (lines []string, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Analyze ¶
func Analyze(inputFiles, clangFlags []string) (pp []byte, comments []program.Comment, includes []program.IncludeHeader, err error)
Analyze - separation preprocessor code to part
func GetIncludeFullList ¶
GetIncludeFullList - Get full list of include files Example: $ clang -M -c triangle.c
triangle.o: triangle.c /usr/include/stdio.h /usr/include/features.h \ /usr/include/stdc-predef.h /usr/include/x86_64-linux-gnu/sys/cdefs.h \ /usr/include/x86_64-linux-gnu/bits/wordsize.h \ /usr/include/x86_64-linux-gnu/gnu/stubs.h \ /usr/include/x86_64-linux-gnu/gnu/stubs-64.h \ / ........ and other
func GetIncludeListWithUserSource ¶
GetIncludeListWithUserSource - Get list of include files Example: $ clang -MM -c exit.c exit.o: exit.c tests.h
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.