2.4 __declspec attributes

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

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.
Related reference
2.5 __declspec(noinline)
2.6 __declspec(noreturn)
2.7 __declspec(nothrow)
Non-ConfidentialPDF file icon PDF versionARM DUI0774E
Copyright © 2014-2016 ARM. All rights reserved.