7.3 --allow_null_this, --no_allow_null_this

Allows and disallows null this pointers in C++.


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.


The default is --no_allow_null_this.
Related reference
7.75 --gnu_defaults
Non-ConfidentialPDF file icon PDF versionARM DUI0375F
Copyright © 2007, 2008, 2011, 2012, 2014 ARM. All rights reserved.