2.3. C Language ExtensionsΒΆ

The tiarmclang compiler supports many of the features described in the Arm C Language Extensions (ACLE) specification.

A significant benefit of using ACLE features in your C/C++ source code is that ACLE features are supported by other Arm ACLE-compliant compilers (including the legacy TI Arm C/C++ Compiler). C/C++ code developed using ACLE extensions will be portable from one Arm ACLE-compliant compiler to another.

The ACLE features that are supported in tiarmclang are those that are applicable to the Arm Cortex-M and Cortex-R processor variants that the compiler supports.

Extensions supported in tiarmclang include pre-defined macro symbols, attributes, and intrinsics. Standard Clang language extensions, such as those described in the Clang documentation in the Clang Language Extensions section of the Clang documentation, are generally supported.

A description of selected extensions is provided in the following sections of this user guide:

Pre-Defined Macro Symbols

Attributes

Intrinsics