| Syntax: | Default: |
| opt(inline[, yes]) opt(inline, no) |
opt(inline, no) with
opt(level,0) opt(inline[, yes]) otherwise |
This option determines whether the following functions in your
source code are candidates for inlining.
Functions
qualified with _Inline in C source code
Functions
qualified with inline in C++ source code.
To enable inlining for other functions in your source files,
use the opt(autoInline) option.
For C
source code, setting opt(autoInline) implicitly sets opt(inline).
By default, VisualAge C++ inlines functions when optimizing, and does no inlining otherwise. When you build with an optimization level greater than 0, set opt(inline, no) to suppress inlining. This can reduce program size, usually at the expense of performance.
This option is set to yes implicitly whe you build with opt(level, level) and level has a value greater than 0.
Even when inlining is turned on, some candidate functions may not actually be inlined due to criteria applied during the compile stage.
![]()
Incremental C++ Builds
C Compilation
Configuration Files
Inlining
![]()
Set Build Options
Build
![]()
Optimize your
Program
![]()
Optimization Options
![]()
Optimization Options
