findCompileCommandFromIncludes

Find a CompileCommand that in any way have an #include which pull in fname.

This is useful to find the flags needed to parse a header file which is used by the implementation.

Note that the context will be expanded with the flags.

@safe @trusted
Nullable!IncludeResult
findCompileCommandFromIncludes
(,,,
const string[] extra_flags
,
const DbCompiler user_compiler = DbCompiler.init
)

Return Value

Type: Nullable!IncludeResult

The first CompileCommand object which _probably_ has the flags needed to parse fname.

Meta