--allow_null_this, --no_allow_null_this

These options allow and disallow null this pointers in C++.

Show/hideUsage

Allowing null this pointers gives well-defined behavior when a nonvirtual member function is called on a null object pointer.

Disallowing null this pointers enables the compiler to perform optimizations, and conforms with the C++ standard.

Show/hideDefault

The default is --no_allow_null_this.

Show/hideSee also

Copyright © 2010-2011 ARM. All rights reserved.ARM DUI 0491E
Non-ConfidentialID071611