Enable a heuristic stating that if two arguments to a function have pointer type, a pointer to const does not alias a pointer to non-const.
Windows: None
Linux: Data > Honor Constant Constraint on Parameters
Mac OS: None
IA-32 architecture, Intel® 64 architecture, IA-64 architecture
Linux and Mac OS: | -[no-]alias-const |
Windows: | /Qalias-const[-] |
None
OFF | -no-alias-const /Qalias-const- |
Enable a heuristic stating that if two arguments to a function have pointer type, a pointer to const does not alias a pointer to non-const. Also known as the input/output buffer rule, it assumes that input and output buffer arguments do not overlap.
None