Template_From_PCH

class Template_From_PCH (concrete, physical)

Stored in Root_Node.Additional_Template_Instances. Stand-in for a template from a precompiled header. Used as parent for template instances that were supposed to be added to the template, when this wasn’t possible because we’re compiling a PCH client but the template node was already emitted into the PCH IR. The linker will discard this node and instead move the instances to the Template.

Direct parents:
Ancestor classes and implemented interfaces:

Meta_Information, Physical_IR_Root

Field

Kind

Type

Description

Template

semantic

class Declaration

Link to the template (in PCH), or to the templated declaration/definition. The linker will find the nearest Template_Interface.

Instances

syntactic

set of interface Template_Instance_Interface

Parent (from Physical_IR_Root)

semantic

class Physical_IR_Root

The parent of the node in the syntactic forest.

Original_Position_Index (from Physical_IR_Root)

attribute

builtin SLoc_Index_Type

Internal source location info. If from macro expansion, this location is inside the macro body or macro argument

Original_Position (from Physical_IR_Root)

attribute

builtin SLoc

Source location. If from macro expansion, this location is inside the macro body or macro argument

Position (from Physical_IR_Root)

attribute

builtin SLoc

Source location. If from macro expansion, this location is that of the macro expansion

Artificial (from Physical_IR_Root)

attribute

builtin Boolean

Whether this node was compiler-generated

Parenthesized (from Physical_IR_Root)

attribute

builtin Boolean

Whether this node was enclosed in parentheses (used for expressions)

In_Template_Instance (from Physical_IR_Root)

attribute

builtin Boolean

Whether this node is inside a template instance

Enclosing_Template_Instance (from Physical_IR_Root)

semantic

class Physical_IR_Root

Innermost enclosing template instance if In_Template_Instance is true