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
(
ParsedCompileCommand[] compdb
,)

Return Value

Type: Nullable!IncludeResult

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

Meta