ClangContext.this

Create an instance.

The binary dextool has clang specified headers attached. Those are feed to the VFS and used when the flag useInternalHeaders is "yes". To make them accessable a "-I" parameter with their in-memory location is supplied to all instantiated translation units.

struct ClangContext
this
(
Flag!"useInternalHeaders" useInternalHeaders
,
Flag!"prependParamSyntaxOnly" prependParamSyntaxOnly
)

Parameters

useInternalHeaders
Type: Flag!"useInternalHeaders"

load the VFS with in-memory system headers.

prependParamSyntaxOnly
Type: Flag!"prependParamSyntaxOnly"

prepend the flag -fsyntax-only to instantiated translation units.

Meta