UserAttributeDeclaration.checkGNUABITag

Called from a symbol's semantic to check if gnuAbiTag UDA can be applied to them

Directly emits an error if the UDA doesn't work with this symbol

class UserAttributeDeclaration
static
void
checkGNUABITag

Parameters

sym
Type: Dsymbol

symbol to check for gnuAbiTag

linkage
Type: LINK

Linkage of the symbol (Declaration.link or sc.link)

Meta