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

Non-ConfidentialPDF file icon PDF versionARM DUI0472M
Copyright © 2010-2016 ARM Limited or its affiliates. All rights reserved.