TranslationUnit.parseString

Convenient function to create a TranslationUnit from source code via a parameter.

Common use cases is unit testing.

Trusted: on the assumption that clang.TranslationUnit.TranslationUnit.~this is correctly implemented.

struct TranslationUnit
static @safe
parseString

Meta