github.com/llir/llvm@v0.3.6/ir/enum/sumtype.go (about)

     1  package enum
     2  
     3  // === [ metadata.DIExpressionField ] ==========================================
     4  
     5  // IsDIExpressionField ensures that only DIExpression fields can be assigned to
     6  // the metadata.DIExpressionField interface.
     7  func (DwarfAttEncoding) IsDIExpressionField() {}
     8  
     9  // IsDIExpressionField ensures that only DIExpression fields can be assigned to
    10  // the metadata.DIExpressionField interface.
    11  func (DwarfOp) IsDIExpressionField() {}
    12  
    13  // === [ ir.FuncAttribute ] ====================================================
    14  
    15  // IsFuncAttribute ensures that only function attributes can be assigned to the
    16  // ir.FuncAttribute interface.
    17  func (FuncAttr) IsFuncAttribute() {}
    18  
    19  // === [ ir.ParamAttribute ] ===================================================
    20  
    21  // IsParamAttribute ensures that only parameter attributes can be assigned to
    22  // the ir.ParamAttribute interface.
    23  func (ParamAttr) IsParamAttribute() {}
    24  
    25  // === [ ir.ReturnAttribute ] ==================================================
    26  
    27  // IsReturnAttribute ensures that only return attributes can be assigned to the
    28  // ir.ReturnAttribute interface.
    29  func (ReturnAttr) IsReturnAttribute() {}