TemplateInstance.needsCodegen

Returns true if this is not instantiated in non-root module, and is a part of non-speculative instantiatiation.

Note: minst does not stabilize until semantic analysis is completed, so don't call this function during semantic analysis to return precise result.

class TemplateInstance
final
bool
needsCodegen
()

Meta