premake/website/docs/strictaliasing.md

33 lines
804 B
Markdown
Raw Normal View History

2021-03-11 20:29:22 +00:00
Sets the level of allowed pointer aliasing.
```lua
strictaliasing "value"
```
If no value is set for a configuration, the toolsets settings will be used.
### Parameters ###
`value` specifies the desired level of optimization:
| Value | Description |
|-------------|--------------------------------------------------------|
| Off | No strict aliasing tests will be performed. |
| Level1 | |
| Level2 | |
| Level3 | |
### Applies To ###
Project configurations.
### Availability ###
Premake 5.0.
### Examples ###
```lua
strictaliasing "Level1"
```