You copied the Doc URL to your clipboard.

Arm Compiler armclang Reference Guide : __declspec attributes

__declspec attributes

The __declspec keyword enables you to specify special attributes of objects and functions.

Note

The __declspec keyword is deprecated.

The __declspec keyword must prefix the declaration specification. For example:

__declspec(noreturn) void overflow(void);

The available __declspec attributes are as follows:

  • __declspec(noinline)
  • __declspec(noreturn)
  • __declspec(nothrow)

__declspec attributes are storage class modifiers. They do not affect the type of a function or variable.

Was this page helpful? Yes No