--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.

Copyright © 2007-2008, 2011 ARM. All rights reserved.ARM DUI 0376C
Non-ConfidentialID061811